cast => as

329e395077ab03eeaf2a19f7cea8a74950122f7c

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +6 -6Ignore whitespace
public/scripts/variables.js+6 -6
@@ -909,7 +909,7 @@ export function registerVariableCommands() {
909909 'index', 'list index', [ARGUMENT_TYPE.NUMBER, ARGUMENT_TYPE.STRING], false,
910910 ),
911911 SlashCommandNamedArgument.fromProps({
912912 name: 'castas',
913913 description: 'change the type of the value when used with index',
914914 forceEnum: true,
915915 enumProvider: commonEnumProviders.types,
@@ -925,7 +925,7 @@ export function registerVariableCommands() {
925925 helpString: `
926926 <div>
927927 Set a local variable value and pass it down the pipe. The <code>index</code> argument is optional.
928928 To convert the value to a specific JSON type when using <code>index</code>, use the <code>caseas</code> argument.
929929 </div>
930930 <div>
931931 <strong>Example:</strong>
@@ -1035,7 +1035,7 @@ export function registerVariableCommands() {
10351035 'index', 'list index', [ARGUMENT_TYPE.NUMBER, ARGUMENT_TYPE.STRING], false,
10361036 ),
10371037 SlashCommandNamedArgument.fromProps({
10381038 name: 'castas',
10391039 description: 'change the type of the value when used with index',
10401040 forceEnum: true,
10411041 enumProvider: commonEnumProviders.types,
@@ -1051,7 +1051,7 @@ export function registerVariableCommands() {
10511051 helpString: `
10521052 <div>
10531053 Set a global variable value and pass it down the pipe. The <code>index</code> argument is optional.
10541054 To convert the value to a specific JSON type when using <code>index</code>, use the <code>castas</code> argument.
10551055 </div>
10561056 <div>
10571057 <strong>Example:</strong>
@@ -2062,7 +2062,7 @@ export function registerVariableCommands() {
20622062 false, // acceptsMultiple
20632063 ),
20642064 SlashCommandNamedArgument.fromProps({
20652065 name: 'castas',
20662066 description: 'change the type of the value when used with index',
20672067 forceEnum: true,
20682068 enumProvider: commonEnumProviders.types,
@@ -2089,7 +2089,7 @@ export function registerVariableCommands() {
20892089 helpString: `
20902090 <div>
20912091 Get or set a variable. Use <code>index</code> to access elements of a list or dictionary.
20922092 To convert the value to a specific JSON type when using with <code>index</code>, use the <code>castas</code> argument.
20932093 </div>
20942094 <div>
20952095 <strong>Examples:</strong>