Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 6c75ac3

Browse files
committed
Update typescript-eslint rules
1 parent 828d53b commit 6c75ac3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/rules/typescript-eslint/restrict-template-expressions.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ export interface RestrictTemplateExpressionsOption {
2424
* Whether to allow `regexp` typed values in template expressions.
2525
*/
2626
allowRegExp?: boolean;
27+
/**
28+
* Whether to allow `never` typed values in template expressions.
29+
*/
30+
allowNever?: boolean;
2731
[k: string]: any;
2832
}
2933

0 commit comments

Comments
 (0)