Skip to content

Commit 4b49cbe

Browse files
committed
refactor(language-service): remove unnecessary await
1 parent 4d8d2a8 commit 4b49cbe

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/language-service/index.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,31 +109,31 @@ export function getFullLanguageServicePlugins(ts: typeof import('typescript')) {
109109
};
110110
return {
111111
async collectExtractProps(...args) {
112-
return await collectExtractProps.apply(requestContext, args);
112+
return collectExtractProps.apply(requestContext, args);
113113
},
114114
async getPropertiesAtLocation(...args) {
115-
return await getPropertiesAtLocation.apply(requestContext, args);
115+
return getPropertiesAtLocation.apply(requestContext, args);
116116
},
117117
async getImportPathForFile(...args) {
118-
return await getImportPathForFile.apply(requestContext, args);
118+
return getImportPathForFile.apply(requestContext, args);
119119
},
120120
async getComponentEvents(...args) {
121-
return await getComponentEvents.apply(requestContext, args);
121+
return getComponentEvents.apply(requestContext, args);
122122
},
123123
async getComponentDirectives(...args) {
124-
return await getComponentDirectives.apply(requestContext, args);
124+
return getComponentDirectives.apply(requestContext, args);
125125
},
126126
async getComponentNames(...args) {
127-
return await getComponentNames.apply(requestContext, args);
127+
return getComponentNames.apply(requestContext, args);
128128
},
129129
async getComponentProps(...args) {
130-
return await getComponentProps.apply(requestContext, args);
130+
return getComponentProps.apply(requestContext, args);
131131
},
132132
async getElementAttrs(...args) {
133-
return await getElementAttrs.apply(requestContext, args);
133+
return getElementAttrs.apply(requestContext, args);
134134
},
135135
async getElementNames(...args) {
136-
return await getElementNames.apply(requestContext, args);
136+
return getElementNames.apply(requestContext, args);
137137
},
138138
async getQuickInfoAtPosition(fileName, position) {
139139
const languageService = context.getLanguageService();

0 commit comments

Comments
 (0)