Skip to content

Commit 9fc5b54

Browse files
Merge pull request #439 from jcaru/develop
fix: Missing parameter typings
2 parents c4f7ae0 + 0069d86 commit 9fc5b54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ export class GPU {
1313
nativeFunctions: IGPUNativeFunction[];
1414
addFunction(kernel: KernelFunction, settings?: IGPUFunctionSettings): this;
1515
addNativeFunction(name: string, source: string): this;
16-
combineKernels(): KernelFunction;
16+
combineKernels(...kernels: Function[]): KernelFunction;
1717
createKernel(kernel: KernelFunction, settings?: IKernelSettings): IKernelRunShortcut;
18-
createKernelMap(): IKernelRunShortcut;
18+
createKernelMap(subKernels: Object | Array<Function>, rootKernel: Function): IKernelRunShortcut;
1919
destroy(): void;
2020
Kernel: typeof Kernel;
2121
mode: string;

0 commit comments

Comments
 (0)