ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
22 lines (21 loc) • 872 B
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { editor, Environment } from 'monaco-editor';
import IStandAloneEditorConstructionOptions = editor.IStandaloneEditorConstructionOptions;
import IDiffEditorConstructionOptions = editor.IDiffEditorConstructionOptions;
declare global {
interface Window {
MonacoEnvironment?: Environment | undefined;
}
}
export type EditorOptions = IStandAloneEditorConstructionOptions;
export type DiffEditorOptions = IDiffEditorConstructionOptions;
export type JoinedEditorOptions = EditorOptions | DiffEditorOptions;
export type NzEditorMode = 'normal' | 'diff';
export declare const enum NzCodeEditorLoadingStatus {
UNLOAD = "unload",
LOADING = "loading",
LOADED = "LOADED"
}