Skip to content

Commit

Permalink
fix: export bug
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiaobo01 committed Jun 22, 2022
1 parent 381674c commit 67db6fe
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion dist/src/multi/Editor.d.ts
Original file line number Diff line number Diff line change
@@ -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;
}
Expand Down
1 change: 0 additions & 1 deletion dist/src/single/Editor.d.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/multi/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 0 additions & 2 deletions src/single/Editor.tsx
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 67db6fe

Please sign in to comment.