Skip to content

Commit

Permalink
Swap call/construct to match the interface name (#2932)
Browse files Browse the repository at this point in the history
  • Loading branch information
V01D-NULL authored Oct 24, 2023
1 parent 8133853 commit 2abf589
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 2abf589

Please sign in to comment.