Skip to content

Commit df58163

Browse files
committed
chore: Use NonNullable over "&{}"
1 parent 7342442 commit df58163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/import-target.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function removeTrailWildcard(input) {
4848
/**
4949
* Initialize this instance.
5050
* @param {import('eslint').Rule.RuleContext} context - The context for the import origin.
51-
* @returns {import('enhanced-resolve').ResolveOptions['alias'] & {}}
51+
* @returns {NonNullable<import('enhanced-resolve').ResolveOptions['alias']>}
5252
*/
5353
function getTSConfigAliases(context) {
5454
const tsConfig = getTSConfigForContext(context)

0 commit comments

Comments
 (0)