33 * Licensed under the MIT License. See License.txt in the project root for license information.
44 *--------------------------------------------------------------------------------------------*/
55
6- import { JSONCompletion } from './services/jsonCompletion' ;
7- import { JSONHover } from './services/jsonHover' ;
8- import { JSONValidation } from './services/jsonValidation' ;
6+ import { JSONCompletion } from './services/jsonCompletion.js ' ;
7+ import { JSONHover } from './services/jsonHover.js ' ;
8+ import { JSONValidation } from './services/jsonValidation.js ' ;
99
10- import { JSONDocumentSymbols } from './services/jsonDocumentSymbols' ;
11- import { parse as parseJSON , newJSONDocument } from './parser/jsonParser' ;
12- import { schemaContributions } from './services/configuration' ;
13- import { JSONSchemaService } from './services/jsonSchemaService' ;
14- import { getFoldingRanges } from './services/jsonFolding' ;
15- import { getSelectionRanges } from './services/jsonSelectionRanges' ;
16- import { sort } from './utils/sort' ;
17- import { format } from './utils/format' ;
10+ import { JSONDocumentSymbols } from './services/jsonDocumentSymbols.js ' ;
11+ import { parse as parseJSON , newJSONDocument } from './parser/jsonParser.js ' ;
12+ import { schemaContributions } from './services/configuration.js ' ;
13+ import { JSONSchemaService } from './services/jsonSchemaService.js ' ;
14+ import { getFoldingRanges } from './services/jsonFolding.js ' ;
15+ import { getSelectionRanges } from './services/jsonSelectionRanges.js ' ;
16+ import { sort } from './utils/sort.js ' ;
17+ import { format } from './utils/format.js ' ;
1818
1919import {
2020 ASTNode ,
@@ -24,15 +24,15 @@ import {
2424 TextDocument ,
2525 Position , CompletionItem , CompletionList , Hover , Range , SymbolInformation , Diagnostic ,
2626 TextEdit , FormattingOptions , DocumentSymbol , DefinitionLink , MatchingSchema , JSONLanguageStatus , SortOptions
27- } from './jsonLanguageTypes' ;
28- import { findLinks } from './services/jsonLinks' ;
27+ } from './jsonLanguageTypes.js ' ;
28+ import { findLinks } from './services/jsonLinks.js ' ;
2929import { DocumentLink } from 'vscode-languageserver-types' ;
3030
3131export type JSONDocument = {
3232 root : ASTNode | undefined ;
3333 getNodeFromOffset ( offset : number , includeRightBound ?: boolean ) : ASTNode | undefined ;
3434} ;
35- export * from './jsonLanguageTypes' ;
35+ export * from './jsonLanguageTypes.js ' ;
3636
3737export interface LanguageService {
3838 configure ( settings : LanguageSettings ) : void ;
0 commit comments