Skip to content

Commit cd1754a

Browse files
committed
touch up
1 parent 4f1dca2 commit cd1754a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const trails = (gl: WebGLRenderingContext, rgb?: [number, number, number]
6363
}
6464
gl.useProgram(program);
6565

66-
const getLocation = (name: string, size: number) => {
66+
const getLocation = (name: string, size: number): number => {
6767
const location = gl.getAttribLocation(program, name);
6868
gl.vertexAttribPointer(location, size, gl.FLOAT, false, 0, 0);
6969
gl.enableVertexAttribArray(location);

lib/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import fs from "node:fs";
12
import { defineConfig, type Options } from "tsup";
23
import react18Plugin from "esbuild-plugin-react18";
34
import cssPlugin from "esbuild-plugin-react18-css";
45
import { rdiPlugin } from "esbuild-plugin-rdi";
5-
import fs from "fs";
66

77
export default defineConfig(
88
(options: Options) =>

0 commit comments

Comments
 (0)