12 lines
190 B
TypeScript
12 lines
190 B
TypeScript
// it is an error to use a predefined type as a type name
|
|
|
|
class any { }
|
|
|
|
class number { }
|
|
|
|
class boolean { }
|
|
class bool { } // not a predefined type anymore
|
|
|
|
class string { }
|
|
|
|
|