Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yoav-lavi committed Jul 16, 2023
1 parent 1bc0a10 commit 32244a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion playground/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { Environment } from 'monaco-editor';
import { initCopyButton } from './copy-button';

declare global {
interface Window {
MonacoEnvironment: { getWorker: () => Worker };
MonacoEnvironment?: Environment;
currentEditorContent: string;
}
}
Expand Down

0 comments on commit 32244a2

Please sign in to comment.