mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
fix: Fix order of arguments in IVariableMap.createVariable(). (#9231)
This commit is contained in:
@@ -43,7 +43,7 @@ export interface IVariableMap<T extends IVariableModel<IVariableState>> {
|
||||
* Creates a new variable with the given name. If ID is not specified, the
|
||||
* variable map should create one. Returns the new variable.
|
||||
*/
|
||||
createVariable(name: string, id?: string, type?: string | null): T;
|
||||
createVariable(name: string, type?: string, id?: string | null): T;
|
||||
|
||||
/* Adds a variable to this variable map. */
|
||||
addVariable(variable: T): void;
|
||||
|
||||
Reference in New Issue
Block a user