diff --git a/src/Editor/useWorker.ts b/src/Editor/useWorker.ts index 2807a907..2a3b0627 100644 --- a/src/Editor/useWorker.ts +++ b/src/Editor/useWorker.ts @@ -14,8 +14,8 @@ self.MonacoEnvironment = { monaco.languages.typescript.typescriptDefaults.setEagerModelSync(true); monaco.languages.typescript.typescriptDefaults.addExtraLib( - `declare module 'https://unpkg.com/awatif' { + `declare module 'https://unpkg.com/*' + declare module 'https://unpkg.com/awatif' { export function analyzing(nodes: any, elements:any, assignments:any): any; - export function analyzing2(nodes: any, elements:any, assignments:any): any; }` );