gulp-structify
Version:
Generates WebGL-compatible Structs and StructBuffers from a template file.
6 lines (5 loc) • 361 B
TypeScript
/**
* Parameter decoration indicating that parameter can be of any type that implements the "ObjectLike" interface generated by gulp-structify.
* For example, `dot: (@like other: Vec2) => number` compiles to `dot: (other: Vec2Like) => number`.
*/
export declare function like(target: Object, propertyKey: string | symbol, parameterIndex: number): void;