diff --git a/dist/src/multi/Editor.d.ts b/dist/src/multi/Editor.d.ts index b506c8d..144fcaf 100644 --- a/dist/src/multi/Editor.d.ts +++ b/dist/src/multi/Editor.d.ts @@ -1,6 +1,5 @@ import React from 'react'; import * as monacoType from 'monaco-editor'; -export * from 'monaco-editor'; export interface filelist { [key: string]: string | null; } diff --git a/dist/src/single/Editor.d.ts b/dist/src/single/Editor.d.ts index 11be315..031d713 100644 --- a/dist/src/single/Editor.d.ts +++ b/dist/src/single/Editor.d.ts @@ -1,6 +1,5 @@ import React from 'react'; import * as monacoType from 'monaco-editor'; -export * from 'monaco-editor'; export interface SingleEditorIProps { value?: string; defaultValue?: string; diff --git a/src/multi/Editor.tsx b/src/multi/Editor.tsx index b3f5a71..33e71d9 100644 --- a/src/multi/Editor.tsx +++ b/src/multi/Editor.tsx @@ -22,8 +22,6 @@ import { configTheme } from '@utils/initEditor'; import Setting from '@components/Setting'; import { useDragLine, usePrettier, useInit, useEditor, useVarRef } from './hook'; -export * from 'monaco-editor'; - // eslint-disable-next-line @typescript-eslint/no-empty-function const noop = () => {}; export interface filelist { diff --git a/src/single/Editor.tsx b/src/single/Editor.tsx index e0fba32..25e0656 100644 --- a/src/single/Editor.tsx +++ b/src/single/Editor.tsx @@ -1,8 +1,6 @@ import React, { useCallback, useEffect, useRef } from 'react'; import * as monacoType from 'monaco-editor'; import { configTheme } from '@utils/initEditor'; - -export * from 'monaco-editor'; export interface SingleEditorIProps { value?: string, defaultValue?: string,