typedef
FunctionFunction in the Lens Scripting API.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
TypeScript only
typedef<
T>(target,context):void
Type Parameters
| Type Parameter |
|---|
T extends (...args) => object |
Parameters
| Parameter | Type |
|---|---|
target | T |
context | ClassDecoratorContext<T> |
Returns
void