any

Peut-être de n’importe quel type.

Exemple

let a1: any = true;
a1 = "val";
a1 = 2;

results matching ""

    No results matching ""