Skip to content

Commit 29309e0

Browse files
committedSep 18, 2020
fix: Update documentation
1 parent 1dc2739 commit 29309e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎examples/advanced-typescript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ interface IKernelMapResult extends ISubKernelsResults {
4242
test: KernelOutput;
4343
}
4444

45-
const kernelMap = gpu.createKernelMap<IKernelMapResult, typeof kernelFunction>({
45+
const kernelMap = gpu.createKernelMap<Parameters<typeof kernelFunction>>({
4646
test: subKernel,
4747
}, kernelFunction)
4848
.setConstants<IConstants>({

0 commit comments

Comments
 (0)
Please sign in to comment.