Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #45 from larshp/typo
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
alexdima authored Oct 2, 2019
2 parents f7d75e1 + 274cc4a commit a5ee0c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/languageFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export abstract class Adapter {

// --- diagnostics --- ---

export class DiagnostcsAdapter extends Adapter {
export class DiagnosticsAdapter extends Adapter {

private _disposables: IDisposable[] = [];
private _listener: { [uri: string]: IDisposable } = Object.create(null);
Expand Down
2 changes: 1 addition & 1 deletion src/tsMode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function setupMode(defaults: LanguageServiceDefaultsImpl, modeId: string): (firs
monaco.languages.registerDocumentRangeFormattingEditProvider(modeId, new languageFeatures.FormatAdapter(worker));
monaco.languages.registerOnTypeFormattingEditProvider(modeId, new languageFeatures.FormatOnTypeAdapter(worker));
monaco.languages.registerRenameProvider(modeId, new languageFeatures.RenameAdapter(worker));
new languageFeatures.DiagnostcsAdapter(defaults, modeId, worker);
new languageFeatures.DiagnosticsAdapter(defaults, modeId, worker);

return worker;
}

0 comments on commit a5ee0c9

Please sign in to comment.