@tomjs/vscode-extension-webview
Version:
When using 'webview.html' in vscode extension development, 'HMR' of vue/react is supported.
14 lines (12 loc) • 307 B
TypeScript
interface WebviewHtmlDevOptions {
/**
* local server url
*/
serverUrl: string;
}
/**
*
* @param options serverUrl string or object options
*/
declare function getHtml(options: string | WebviewHtmlDevOptions): string;
export { type WebviewHtmlDevOptions, getHtml as default, getHtml };