Skip to content

Commit

Permalink
Enable lint rule to enforce consistent import style (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
som-sm authored Dec 10, 2024
1 parent b24fdd9 commit 4ecd8ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"multiline": true,
"consistent": true
}
]
],
"import/consistent-type-specifier-style": ["error", "prefer-top-level"]
}
},
"tsd": {
Expand Down
2 changes: 1 addition & 1 deletion test-d/writable-deep.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {expectType, expectAssignable} from 'tsd';
import type {JsonValue, Opaque, ReadonlyDeep, WritableDeep} from '../index';
import type {WritableObjectDeep} from '../source/writable-deep';
import {type tag} from '../source/tagged';
import type {tag} from '../source/tagged';

type Overloaded = {
(foo: number): string;
Expand Down

0 comments on commit 4ecd8ad

Please sign in to comment.