-
-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Description
Something like the following for wrap:
interface NamedSnippet {
type: "named";
name: string;
variableName: string;
}
interface CustomSnippet {
type: "custom";
body: string;
variableName?: string;
scopeType?: ScopeType;
}
type SnippetDescription = NamedSnippet | CustomSnippet;
async run(
[targets]: [Target[]],
snippet: SnippetDescription,
): Promise<ActionReturnValue> {}insert should be similar but no variableName
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request