@guihz/trading-vue-editor-tes 0.0.37 → 0.0.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ interface IProps {
17
17
  onActionTrigger?: (actionId: string) => void;
18
18
  }
19
19
  export interface IRefs {
20
- saveScript: () => void;
20
+ setOriginalScript: (val: string) => void;
21
21
  gotoLine: () => void;
22
22
  setScript: (code: string) => void;
23
23
  getEditorLayout: () => undefined | {
@@ -13,7 +13,7 @@ export default class InitEditor {
13
13
  removeDiffDecorations(): void;
14
14
  setValue(val: string): void;
15
15
  setPosition(position: IPosition): void;
16
- saveScripts(): void;
16
+ setOriginalScript(val: string): void;
17
17
  getEditorLayout(): {
18
18
  contentHeight: number;
19
19
  lineCount: number | undefined;