Skip to content

Commit

Permalink
Revert local autofix that fails on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Mar 20, 2024
1 parent a49493b commit e65b8f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test-d/except.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ type Example = {

const test: Except<Example, 'bar', {requireExactProps: false}> = {foo: 123, bar: 'asdf'};
expectType<number>(test.foo);

// eslint-disable-next-line @typescript-eslint/dot-notation
expectType<unknown>(test['bar']);
2 changes: 1 addition & 1 deletion test-d/unknown-record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ expectError(foo = 42);
expectError(foo = null);

expectType<unknown>(foo.bar);

// eslint-disable-next-line @typescript-eslint/dot-notation
expectType<unknown>(foo['bar']);

0 comments on commit e65b8f6

Please sign in to comment.