Mytype.
Mytype.
let x = MyType(1, “hello”, true)
let x = MyType{1: “hello”, 0:1, 2:true};
let x = MyType(1, “hello”, true)
let x = MyType{1: “hello”, 0:1, 2:true};
```typescript
# This works
type MyType = 1 | 2 | ... | 25;
# This breaks
type MyLooongType = MyType | 26;
```
And this limit is not documented in the official TypeScript docs.
- […]
```typescript
# This works
type MyType = 1 | 2 | ... | 25;
# This breaks
type MyLooongType = MyType | 26;
```
And this limit is not documented in the official TypeScript docs.
- […]