Skip to content

Commit

Permalink
remove nulls from tests to fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachHaber committed Aug 14, 2023
1 parent f106e37 commit 8c6696f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test-types/import-in-cts/assertions-as-type-guards.cts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test('false', t => {
});

test('falsy', t => {
type Actual = Expected | undefined | null | false | 0 | '' | 0n;
type Actual = Expected | undefined | false | 0 | '' | 0n;
const actual = undefined as Actual;
if (t.falsy(actual)) {
expectType<Exclude<Actual, Expected>>(actual);
Expand Down
2 changes: 1 addition & 1 deletion test-types/module/assertions-as-type-guards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test('false', t => {
});

test('falsy', t => {
type Actual = Expected | undefined | null | false | 0 | '' | 0n;
type Actual = Expected | undefined | false | 0 | '' | 0n;
const actual = undefined as Actual;
if (t.falsy(actual)) {
expectType<Exclude<Actual, Expected>>(actual);
Expand Down

0 comments on commit 8c6696f

Please sign in to comment.