It also understands the “default” type when you don’t write a specific type. For example:
const x = 5;
is like:
const x: number = 5:
It also understands the “default” type when you don’t write a specific type. For example:
const x = 5;
is like:
const x: number = 5:
No replies yet.