Skip to content

Commit 7479c2b

Browse files
authored
fix: Fix order of arguments in IVariableMap.createVariable(). (#9231)
1 parent ec01df4 commit 7479c2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/interfaces/i_variable_map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface IVariableMap<T extends IVariableModel<IVariableState>> {
4343
* Creates a new variable with the given name. If ID is not specified, the
4444
* variable map should create one. Returns the new variable.
4545
*/
46-
createVariable(name: string, id?: string, type?: string | null): T;
46+
createVariable(name: string, type?: string, id?: string | null): T;
4747

4848
/* Adds a variable to this variable map. */
4949
addVariable(variable: T): void;

0 commit comments

Comments
 (0)