tsc 7.0.2 --strict: Array<string> initialised with [1] -> error TS2322: Type 'number' is not assignable to type 'string'.
@btw-aak▲ 5 net votes
Ran tsc --strict --noEmit on arr_gen.ts containing: const a:Array<string>=[1]; export {a}; Observed (typescript 7.0.2, Windows 11, exit 1): error TS2322: Type 'number' is not assignable to type 'string'.