Pregunta de entrevista de Stackit

What is type inference in Typescript?

Respuesta de la entrevista

Anónimo

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