Browse Source

Remove synchronous methods that cannot be proxied

Alex Dima 5 years ago
parent
commit
6a5f2c1d98
1 changed files with 0 additions and 33 deletions
  1. 0 33
      src/monaco.d.ts

+ 0 - 33
src/monaco.d.ts

@@ -260,39 +260,6 @@ declare module monaco.languages.typescript {
     }
 
     export interface TypeScriptWorker {
-        /**
-         * Get the worker's current compiler settings.
-         */
-        getCompilationSettings(): CompilerOptions;
-
-        /**
-         * Get the names of files and libraries currently registered with the worker.
-         */
-        getScriptFileNames(): string[];
-
-        getScriptVersion(fileName: string): string;
-
-        /**
-         * Get what kind of script the given filename is.
-         * @returns `typescript.ScriptKind`: any = 0, JS = 1, JSX = 2, TS = 3, TSX = 4, external = 5, JSON = 6, deferred = 7
-         */
-        getScriptKind(fileName: string): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
-
-        /**
-         * Always returns an empty string.
-         */
-        getCurrentDirectory(): '';
-
-        /**
-         * Get the name of the default lib file based on `options.target`.
-         */
-        getDefaultLibFileName(options: CompilerOptions): string;
-
-        /**
-         * Returns true if `fileName` matches the default file name for the current compiler options.
-         */
-        isDefaultLibFileName(fileName: string): boolean;
-
         /**
          * Get diagnostic messages for any syntax issues in the given file.
          */