mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 23:59:43 +01:00
refactor: add types to remove warning
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user