ape-ecs icon indicating copy to clipboard operation
ape-ecs copied to clipboard

add shorthand for name of system, change initArgs type to unknown[]

Open martinemmert opened this issue 4 years ago • 2 comments

unknown is the better choice if the type-safety should be kept intact, but the arguments are unknown -> https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#new-unknown-top-type

The sysName is a shortcut which I introduced to save me from typing this.constructor.name within my log messages all the time.

martinemmert avatar Nov 24 '20 18:11 martinemmert

Definitely have noticed some things are not quite typesafe with the use of any in a few places

vmwxiong avatar Nov 30 '20 22:11 vmwxiong

Can we merge this?

eranimo avatar Mar 07 '21 02:03 eranimo