script-lab icon indicating copy to clipboard operation
script-lab copied to clipboard

Type error: Cannot find namespace 'monaco'. TS2503

Open g8up opened this issue 4 years ago • 0 comments

I launch the lab server in locale , and got an error:

Type error: Cannot find namespace 'monaco'.  TS2503

    40 |   editSettings: (newSettings: string) => void;
    41 |   openSettings: () => void;
  > 42 |   signalEditorLoaded: (editor: monaco.editor.IStandaloneCodeEditor) => void;
       |                                ^
    43 |   applyFormatting: () => void;
    44 | }
    45 |

Steps:

  • git clone https://github.com/OfficeDev/script-lab
  • yarn install
  • yarn start

https://github.com/OfficeDev/script-lab/blob/8964c49689d1eed133569960b1ac8eed5dbd5244/packages/editor/src/pages/Editor/components/Main/Editor/index.tsx#L34-L44

g8up avatar Mar 24 '21 02:03 g8up