Commit 9c3d1b1
fix(rest): fix type test errors for content+schema guard and missing expect
- Make arrayBuffer and stream @ts-expect-error tests single-line so the
directive covers the entire statement (multi-line caused the error to
land on individual properties, making the directive appear unused)
- Replace runtime expect() with satisfies check in type-only test file
(expect is not available in the typescript-tests tsconfig)
Co-authored-by: Nathaniel Tucker <me@ntucker.me>1 parent c561f3e commit 9c3d1b1
1 file changed
Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2054 | 2054 | | |
2055 | 2055 | | |
2056 | 2056 | | |
2057 | | - | |
2058 | | - | |
2059 | | - | |
2060 | | - | |
2061 | | - | |
| 2057 | + | |
2062 | 2058 | | |
2063 | 2059 | | |
2064 | | - | |
2065 | | - | |
2066 | | - | |
2067 | | - | |
2068 | | - | |
| 2060 | + | |
2069 | 2061 | | |
2070 | 2062 | | |
2071 | 2063 | | |
| |||
2153 | 2145 | | |
2154 | 2146 | | |
2155 | 2147 | | |
2156 | | - | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
2157 | 2155 | | |
0 commit comments