Skip to content

Commit ece5a9d

Browse files
committed
bug fix
1 parent 6d34c88 commit ece5a9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rules/no-extraneous-dependencies.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ function reportIfMissing(context, deps, depsOptions, node, name) {
177177
&& (
178178
node.importKind === 'type'
179179
|| node.importKind === 'typeof'
180+
|| node.exportKind === 'type'
180181
|| Array.isArray(node.specifiers) && node.specifiers.length && node.specifiers.every((specifier) => specifier.importKind === 'type' || specifier.importKind === 'typeof')
181182
)
182183
) {

0 commit comments

Comments
 (0)