Fix method spelling

This commit is contained in:
Matt Bierner
2020-11-11 15:56:27 -08:00
parent 7c6994d1b5
commit afcfc97316
2 changed files with 2 additions and 2 deletions

View File

@@ -483,7 +483,7 @@ export default class BufferSyncSupport extends Disposable {
}
}
public interuptGetErr<R>(f: () => R): R {
public interruptGetErr<R>(f: () => R): R {
if (!this.pendingGetErr
|| this.client.configuration.enableProjectDiagnostics // `geterr` happens on seperate server so no need to cancel it.
) {

View File

@@ -776,7 +776,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
}
public interruptGetErr<R>(f: () => R): R {
return this.bufferSyncSupport.interuptGetErr(f);
return this.bufferSyncSupport.interruptGetErr(f);
}
private fatalError(command: string, error: unknown): void {