vscode-tmlanguage-snapshot
Version:
Take snapshots of your tmLanguage grammar.
11 lines (10 loc) • 348 B
TypeScript
import "vscode-textmate";
//#region src/types.d.ts
interface GrammarSnapshotOptions {
extraGrammarPaths?: string[];
}
//#endregion
//#region src/index.d.ts
declare function createGrammarSnapshot(packageJsonPath: string, options?: GrammarSnapshotOptions): Promise<(path: string) => Promise<string>>;
//#endregion
export { createGrammarSnapshot };