Skip to content

Commit 6c055ca

Browse files
fix: Add typing
1 parent 2c9bd8d commit 6c055ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class GPU {
1515
addNativeFunction(name: string, source: string): this;
1616
combineKernels(...kernels: Function[]): KernelFunction;
1717
createKernel(kernel: KernelFunction, settings?: IKernelSettings): IKernelRunShortcut;
18-
createKernelMap(subKernels: Object | Array<Function>, rootKernel: Function): IKernelRunShortcut;
18+
createKernelMap(subKernels: Object | Array<Function>, rootKernel: Function, settings?: IKernelSettings): IKernelRunShortcut;
1919
destroy(): void;
2020
Kernel: typeof Kernel;
2121
mode: string;

0 commit comments

Comments
 (0)