From 0069d86a66785f931f952e4390c342243ba0addf Mon Sep 17 00:00:00 2001 From: Jacy Caruso Date: Wed, 13 Mar 2019 00:44:00 -0500 Subject: [PATCH] fix: Missing parameter typings fix: Missing parameter typings for the methods GPU.combineKernel and GPU.createKernelMap --- src/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index a03d91ec..be9b77ff 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -13,9 +13,9 @@ export class GPU { nativeFunctions: IGPUNativeFunction[]; addFunction(kernel: KernelFunction, settings?: IGPUFunctionSettings): this; addNativeFunction(name: string, source: string): this; - combineKernels(): KernelFunction; + combineKernels(...kernels: Function[]): KernelFunction; createKernel(kernel: KernelFunction, settings?: IKernelSettings): IKernelRunShortcut; - createKernelMap(): IKernelRunShortcut; + createKernelMap(subKernels: Object | Array, rootKernel: Function): IKernelRunShortcut; destroy(): void; Kernel: typeof Kernel; mode: string;