Skip to content

Commit

Permalink
Swap call/construct to match the interface name
Browse files Browse the repository at this point in the history
  • Loading branch information
V01D-NULL authored Sep 1, 2023
1 parent 3b191d1 commit f1b4dfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ You can combine call and construct signatures in the same type arbitrarily:

```ts twoslash
interface CallOrConstruct {
new (s: string): Date;
(n?: number): string;
new (s: string): Date;
}
```

Expand Down

0 comments on commit f1b4dfc

Please sign in to comment.