@senx/discovery-code
Version:
Discovery Code Editor
26 lines (25 loc) • 685 B
TypeScript
import { Config } from '../../model/config';
export declare class DiscoveryCodeRawResult {
theme: 'light' | 'dark';
config: Config | string;
debug: boolean;
result: string;
private loading;
private innerResult;
private innerConfig;
private LOG;
private editor;
private resEd;
private static LINE_HEIGHT;
constructor();
setDebug(newValue: boolean): void;
setConfig(newValue: any): void;
updateTheme(newValue: 'dark' | 'light'): void;
setResult(newValue: string): void;
private getTheme;
componentWillLoad(): void;
componentDidLoad(): void;
private buildEditor;
private setOptions;
render(): any;
}