Skip to content

Commit 2abf589

Browse files
authored
Swap call/construct to match the interface name (#2932)
1 parent 8133853 commit 2abf589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/documentation/copy/en/handbook-v2/More on Functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ You can combine call and construct signatures in the same type arbitrarily:
8787

8888
```ts twoslash
8989
interface CallOrConstruct {
90-
new (s: string): Date;
9190
(n?: number): string;
91+
new (s: string): Date;
9292
}
9393
```
9494

0 commit comments

Comments
 (0)