From fac9a58e1f47f6964d2b55acaf9dd73b6c75b115 Mon Sep 17 00:00:00 2001 From: Vincent Berthoux Date: Thu, 16 Aug 2018 09:34:27 +0200 Subject: [PATCH] Fixing example for breaking changes --- examples/browser/src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/browser/src/client.ts b/examples/browser/src/client.ts index 370618d7f..f585b3c76 100644 --- a/examples/browser/src/client.ts +++ b/examples/browser/src/client.ts @@ -79,7 +79,7 @@ monaco.languages.registerDocumentRangeFormattingEditProvider(LANGUAGE_ID, { }); monaco.languages.registerDocumentSymbolProvider(LANGUAGE_ID, { - provideDocumentSymbols(model, token): monaco.languages.SymbolInformation[] | Thenable { + provideDocumentSymbols(model, token): monaco.languages.SymbolInformation[] | Thenable { const document = createDocument(model); const jsonDocument = jsonService.parseJSONDocument(document); return p2m.asSymbolInformations(jsonService.findDocumentSymbols(document, jsonDocument));