mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-20 21:41:32 +01:00
Specify that flushvar supports closures
This commit is contained in:
parent
946994af22
commit
fa9ae4c979
@ -1400,8 +1400,8 @@ export function registerVariableCommands() {
|
||||
unnamedArgumentList: [
|
||||
SlashCommandNamedArgument.fromProps({
|
||||
name: 'key',
|
||||
description: 'variable name',
|
||||
typeList: [ARGUMENT_TYPE.VARIABLE_NAME],
|
||||
description: 'variable name or closure that returns a variable name',
|
||||
typeList: [ARGUMENT_TYPE.VARIABLE_NAME, ARGUMENT_TYPE.CLOSURE],
|
||||
enumProvider: commonEnumProviders.variables('local'),
|
||||
}),
|
||||
],
|
||||
@ -1426,8 +1426,8 @@ export function registerVariableCommands() {
|
||||
unnamedArgumentList: [
|
||||
SlashCommandNamedArgument.fromProps({
|
||||
name: 'key',
|
||||
description: 'variable name',
|
||||
typeList: [ARGUMENT_TYPE.VARIABLE_NAME],
|
||||
description: 'variable name or closure that returns a variable name',
|
||||
typeList: [ARGUMENT_TYPE.VARIABLE_NAME, ARGUMENT_TYPE.CLOSURE],
|
||||
enumProvider: commonEnumProviders.variables('global'),
|
||||
}),
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user