UNPKG

608 BTypeScriptView Raw
1/**
2 * Creates a new, generic web worker definition in the given or default project.
3 */
4export interface Schema {
5 /**
6 * The name of the worker.
7 */
8 name: string;
9 /**
10 * The path at which to create the worker file, relative to the current workspace.
11 */
12 path?: string;
13 /**
14 * The name of the project.
15 */
16 project: string;
17 /**
18 * Add a worker creation snippet in a sibling file of the same name.
19 */
20 snippet?: boolean;
21 /**
22 * The target to apply web worker to.
23 * @deprecated No longer has an effect.
24 */
25 target?: string;
26}