Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d947dc7

Browse files
committed
chore: update knip config to ignore exported types and interfaces
1 parent a75993a commit d947dc7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

site/.knip.jsonc

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,11 @@
99
],
1010
"ignore": [
1111
"**/*Generated.ts"
12-
]
12+
],
13+
// This sets knip not to report unused exports of types and interfaces
14+
// as long as they are used within the file.
15+
"ignoreExportsUsedInFile": {
16+
"interface": true,
17+
"type": true
18+
}
1319
}

0 commit comments

Comments
 (0)