Skip to content

Commit 44da8c7

Browse files
authored
fix(no-undefined-types): add Awaited TS utility global (#1132)
1 parent 03578ca commit 44da8c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rules/noUndefinedTypes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const extraTypes = [
1919

2020
const typescriptGlobals = [
2121
// https://www.typescriptlang.org/docs/handbook/utility-types.html
22+
'Awaited',
2223
'Partial',
2324
'Required',
2425
'Readonly',

0 commit comments

Comments
 (0)