Explorar el Código

Fixes Microsoft/monaco-editor#799: Fix typo

Alex Dima hace 7 años
padre
commit
f800aa3abe
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      src/monaco.contribution.ts
  2. 1 1
      src/monaco.d.ts

+ 1 - 1
src/monaco.contribution.ts

@@ -79,7 +79,7 @@ export class LanguageServiceDefaultsImpl implements monaco.languages.typescript.
 		this._onDidChange.fire(this);
 	}
 
-	setMaximunWorkerIdleTime(value: number): void {
+	setMaximumWorkerIdleTime(value: number): void {
 		// doesn't fire an event since no
 		// worker restart is required here
 		this._workerMaxIdleTime = value;

+ 1 - 1
src/monaco.d.ts

@@ -135,7 +135,7 @@ declare module monaco.languages.typescript {
          * @param value The maximun idle time in milliseconds. Values less than one
          * mean never shut down.
          */
-        setMaximunWorkerIdleTime(value: number): void;
+        setMaximumWorkerIdleTime(value: number): void;
 
         /**
          * Configure if all existing models should be eagerly sync'd