code style
This commit is contained in:
parent
01319b50ca
commit
a128ff117b
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ export class GameMap {
|
|||
}
|
||||
|
||||
private trigger(propName: string, oldValue: string | number | boolean | undefined, newValue: string | number | boolean | undefined) {
|
||||
let callbacksArray = this.callbacks.get(propName);
|
||||
const callbacksArray = this.callbacks.get(propName);
|
||||
if (callbacksArray !== undefined) {
|
||||
for (const callback of callbacksArray) {
|
||||
callback(newValue, oldValue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue