typegpu
Version:
A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.
9 lines (8 loc) • 335 B
TypeScript
import { type Snippet } from '../../data/snippet.ts';
type ValueOrArray<T> = T | readonly T[];
/**
* "The reverse of snipping"
* Injects resolved snippets into a template string.
*/
export declare function stitch(strings: TemplateStringsArray, ...snippets: ValueOrArray<Snippet | string | number | undefined>[]): string;
export {};