refactor: add types to remove warning

This commit is contained in:
Ulugbek Abdullaev
2023-08-17 17:05:26 +02:00
parent ccb95fd921
commit 0e2849672f

View File

@@ -1340,7 +1340,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
checkProposedApiEnabled(extension, 'chatRequestAccess');
return extHostChatProvider.requestChatResponseProvider(extension.identifier, id);
},
registerVariable(name, description, resolver) {
registerVariable(name: string, description: string, resolver: vscode.ChatVariableResolver) {
checkProposedApiEnabled(extension, 'chatVariables');
return extHostChatVariables.registerVariableResolver(extension, name, description, resolver);
}