Domanda di colloquio di Stackit

What is type inference in Typescript?

Risposta di colloquio

Anonimo

15 lug 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