Skip to content

Commit

Permalink
test: add declarations of 'y' variable
Browse files Browse the repository at this point in the history
  • Loading branch information
auvred committed Jan 24, 2024
1 parent 56a1ea2 commit ce3d8e0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,14 +224,17 @@ x || y;
})),
`
declare const x: any;
declare const y: number;
x || y;
`,
`
declare const x: unknown;
declare const y: number;
x || y;
`,
`
declare const x: never;
declare const y: number;
x || y;
`,
],
Expand Down

0 comments on commit ce3d8e0

Please sign in to comment.