Typescript - Type
About
Type definition in Typescript
Annotation
type annotation
Example:
- : string is a type annotation that set the type string to the variable person
function greeter(person: string) {
return "Hello, " + person;
}
More … Basic Type