Skip to content

Commit fac9a58

Browse files
author
Vincent Berthoux
committed
Fixing example for breaking changes
1 parent 1726c67 commit fac9a58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/browser/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ monaco.languages.registerDocumentRangeFormattingEditProvider(LANGUAGE_ID, {
7979
});
8080

8181
monaco.languages.registerDocumentSymbolProvider(LANGUAGE_ID, {
82-
provideDocumentSymbols(model, token): monaco.languages.SymbolInformation[] | Thenable<monaco.languages.SymbolInformation[]> {
82+
provideDocumentSymbols(model, token): monaco.languages.SymbolInformation[] | Thenable<monaco.languages.DocumentSymbol[]> {
8383
const document = createDocument(model);
8484
const jsonDocument = jsonService.parseJSONDocument(document);
8585
return p2m.asSymbolInformations(jsonService.findDocumentSymbols(document, jsonDocument));

0 commit comments

Comments
 (0)