-
Notifications
You must be signed in to change notification settings - Fork 11
/
global.d.ts
38 lines (36 loc) · 1.02 KB
/
global.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import '@vue/runtime-core';
import {
Sandpack,
SandpackLayout,
SandpackConsole,
SandpackTests,
CodeEditor,
SandpackProvider,
ErrorOverlay,
LoadingOverlay,
SandpackCodeEditor,
SandpackCodeViewer,
SandpackPreview,
SandpackStack,
SandpackTranspiledCode,
SandpackFileExplorer,
} from 'sandpack-vue3';
declare module '@vue/runtime-core' {
export interface GlobalComponents {
Sandpack: typeof Sandpack;
SandpackLayout: typeof SandpackLayout;
SandpackConsole: typeof SandpackConsole;
SandpackTests: typeof SandpackTests;
CodeEditor: typeof CodeEditor;
SandpackProvider: typeof SandpackProvider;
ErrorOverlay: typeof ErrorOverlay;
LoadingOverlay: typeof LoadingOverlay;
SandpackCodeEditor: typeof SandpackCodeEditor;
SandpackCodeViewer: typeof SandpackCodeViewer;
SandpackPreview: typeof SandpackPreview;
SandpackStack: typeof SandpackStack;
SandpackTranspiledCode: typeof SandpackTranspiledCode;
SandpackFileExplorer: typeof SandpackFileExplorer;
}
}
export {};