@vue/typescript-plugin 2.0.26-alpha.1 → 2.0.26
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/client.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare function collectExtractProps(...args: Parameters<typeof import('.
|
|
|
5
5
|
}[] | null | undefined>;
|
|
6
6
|
export declare function getImportPathForFile(...args: Parameters<typeof import('./requests/getImportPathForFile.js')['getImportPathForFile']>): Promise<string | null | undefined>;
|
|
7
7
|
export declare function getPropertiesAtLocation(...args: Parameters<typeof import('./requests/getPropertiesAtLocation.js')['getPropertiesAtLocation']>): Promise<string[] | null | undefined>;
|
|
8
|
-
export declare function getQuickInfoAtPosition(...args: Parameters<typeof import('./requests/getQuickInfoAtPosition.js')['getQuickInfoAtPosition']>): Promise<
|
|
8
|
+
export declare function getQuickInfoAtPosition(...args: Parameters<typeof import('./requests/getQuickInfoAtPosition.js')['getQuickInfoAtPosition']>): Promise<string | null | undefined>;
|
|
9
9
|
export declare function getComponentProps(...args: Parameters<typeof import('./requests/componentInfos.js')['getComponentProps']>): Promise<string[] | null | undefined>;
|
|
10
10
|
export declare function getComponentEvents(...args: Parameters<typeof import('./requests/componentInfos.js')['getComponentEvents']>): Promise<string[] | null | undefined>;
|
|
11
11
|
export declare function getTemplateContextProps(...args: Parameters<typeof import('./requests/componentInfos.js')['getTemplateContextProps']>): Promise<string[] | null | undefined>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { RequestContext } from './types';
|
|
2
|
-
export declare function getQuickInfoAtPosition(this: RequestContext, fileName: string, position: number):
|
|
2
|
+
export declare function getQuickInfoAtPosition(this: RequestContext, fileName: string, position: number): string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getQuickInfoAtPosition = getQuickInfoAtPosition;
|
|
4
4
|
function getQuickInfoAtPosition(fileName, position) {
|
|
5
|
-
const { languageService } = this;
|
|
6
|
-
return languageService.getQuickInfoAtPosition(fileName, position);
|
|
5
|
+
const { typescript: ts, languageService } = this;
|
|
6
|
+
return ts.displayPartsToString(languageService.getQuickInfoAtPosition(fileName, position)?.displayParts ?? []);
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=getQuickInfoAtPosition.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/typescript-plugin",
|
|
3
|
-
"version": "2.0.26
|
|
3
|
+
"version": "2.0.26",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"directory": "packages/typescript-plugin"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@volar/typescript": "~2.4.0-alpha.
|
|
16
|
-
"@vue/language-core": "2.0.26
|
|
15
|
+
"@volar/typescript": "~2.4.0-alpha.15",
|
|
16
|
+
"@vue/language-core": "2.0.26",
|
|
17
17
|
"@vue/shared": "^3.4.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "latest"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "47924f61e9409501d11ab04e9d3417cc5c86232c"
|
|
23
23
|
}
|