UNPKG

generator-anytext

Version:
29 lines 1.25 kB
/****************************************************************************** * Copyright 2021 TypeFox GmbH * This program and the accompanying materials are made available under the * terms of the MIT License, which is available in the project root. ******************************************************************************/ /// <reference types="node" resolution-mode="require"/> import Generator from 'yeoman-generator'; export interface Answers { extensionName: string; rawLanguageName: string; fileExtensions: string; repository: string; } export interface PostAnwers { openWith: 'code' | false; } export declare class NMFGenerator extends Generator { private answers; constructor(args: string | string[], options: Record<string, unknown>); prompting(): Promise<void>; writing(): void; install(): Promise<void>; end(): Promise<void>; _extensionPath(...path: string[]): string; _replaceTemplateWords(fileExtensionGlob: string, languageName: string, languageId: string, tsconfigBaseName: string, content: string | Buffer): string; _replaceTemplateNames(languageId: string, languageName: string, path: string): string; } export default NMFGenerator; //# sourceMappingURL=index.d.ts.map