We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 145ee73 commit 1f940adCopy full SHA for 1f940ad
packages/typescript-plugin/lib/common.ts
@@ -273,26 +273,6 @@ export function postprocessLanguageService<T>(
273
}
274
275
if (!result?.definitions?.length) {
276
- const { template } = root.sfc;
277
- if (template) {
278
- const textSpan = {
279
- start: template.start + 1,
280
- length: 'template'.length,
281
- };
282
- if (position >= textSpan.start && position <= textSpan.start + textSpan.length) {
283
- return {
284
- textSpan,
285
- definitions: [{
286
- fileName,
287
288
- kind: ts.ScriptElementKind.scriptElement,
289
- name: fileName,
290
- containerKind: ts.ScriptElementKind.unknown,
291
- containerName: '',
292
- }],
293
294
- }
295
296
return;
297
298
0 commit comments