Type any
up:: Typescript You essentially loose the type checking feature.
let level; // inferring type 'any'
level = 10;
level = "hi"; // no error is thrown
Search
Jan 15, 2024
any
up:: Typescript You essentially loose the type checking feature.
let level; // inferring type 'any'
level = 10;
level = "hi"; // no error is thrown