You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: change CI target for next
* chore: add next branch to CI targets
* feat: target ESLint v9
* Tighten type checking config (#1071)
* Use more restrictive type signatures
* Don't rely on broken expect.error()
* chore: report node 18+ support (#1081)
* chore: update documentation for eslint ignore
---------
Co-authored-by: Gil Pedersen <[email protected]>
Copy file name to clipboardexpand all lines: test/types.js
+12
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,18 @@ describe('Types', () => {
98
98
line: 3,
99
99
column: 4
100
100
},
101
+
{
102
+
filename: 'test/restrict.ts',
103
+
message: `Type 'undefined' is not assignable to type 'string' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.`,
104
+
line: 10,
105
+
column: 0
106
+
},
107
+
{
108
+
filename: 'test/restrict.ts',
109
+
message: `'unchecked.b' is possibly 'undefined'.`,
0 commit comments