Pergunta de entrevista da empresa Stackit

What is type inference in Typescript?

Resposta da entrevista

Sigiloso

15 de jul. de 2022

Type inference is the known ability of the TS compiler to infer the type of a variable without an explicit declaration: const num = 3 // type is number