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:

Reply to this note

Please Login to reply.

Discussion

No replies yet.