@volar/language-service 2.0.0-alpha.10 → 2.0.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/documents.d.ts +1 -1
- package/lib/types.d.ts +1 -4
- package/lib/utils/common.d.ts +1 -1
- package/package.json +3 -3
package/lib/documents.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CodeInformation, CodeRangeKey, FileProvider, LinkedCodeMap, Mapping, SourceFile, SourceMap, VirtualFile } from '@volar/language-core';
|
|
2
|
-
import type * as ts from 'typescript
|
|
2
|
+
import type * as ts from 'typescript';
|
|
3
3
|
import type * as vscode from 'vscode-languageserver-protocol';
|
|
4
4
|
import { TextDocument } from 'vscode-languageserver-textdocument';
|
|
5
5
|
import type { RuntimeEnvironment } from '../lib/types';
|
package/lib/types.d.ts
CHANGED
|
@@ -5,10 +5,7 @@ import type { URI } from 'vscode-uri';
|
|
|
5
5
|
import type { DocumentProvider } from './documents';
|
|
6
6
|
export type * from 'vscode-languageserver-protocol';
|
|
7
7
|
export interface ServiceEnvironment extends RuntimeEnvironment {
|
|
8
|
-
workspaceFolder:
|
|
9
|
-
name: string;
|
|
10
|
-
uri: URI;
|
|
11
|
-
};
|
|
8
|
+
workspaceFolder: URI;
|
|
12
9
|
locale?: string;
|
|
13
10
|
clientCapabilities?: vscode.ClientCapabilities;
|
|
14
11
|
getConfiguration?<T>(section: string, scopeUri?: string): Promise<T | undefined>;
|
package/lib/utils/common.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type * as ts from 'typescript
|
|
1
|
+
import type * as ts from 'typescript';
|
|
2
2
|
import type * as vscode from 'vscode-languageserver-protocol';
|
|
3
3
|
export declare function getOverlapRange(range1Start: number, range1End: number, range2Start: number, range2End: number): {
|
|
4
4
|
start: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volar/language-service",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"directory": "packages/language-service"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@volar/language-core": "2.0.0-alpha.
|
|
15
|
+
"@volar/language-core": "2.0.0-alpha.12",
|
|
16
16
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
17
17
|
"vscode-languageserver-textdocument": "^1.0.11",
|
|
18
18
|
"vscode-uri": "^3.0.8"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "1c15dd486f6e6174aa940c21f0ef45215ea2b854"
|
|
21
21
|
}
|