#Please help me with filling out the tsconfig
1 messages · Page 1 of 1 (latest)
You can cast the component to the correct type. I am unsure if that can really be fixed through the tsconfig file.
let hp: number = Math.ceil((hurtEntity.getComponent(EntityComponentTypes.Health) as EntityHealthComponent).currentValue);