@czhlin/vite-plugin-vscode
Version:
Use vue/react to develop 'vscode extension webview', supporting esm/cjs
14 lines • 327 B
TypeScript
//#region src/webview/webview.d.ts
interface WebviewHtmlOptions {
/**
* local server url
*/
serverUrl: string;
}
/**
*
* @param options serverUrl string or object options
*/
declare function getWebviewHtml(options: WebviewHtmlOptions): string;
//#endregion
export { WebviewHtmlOptions, getWebviewHtml as default };