Repository navigation
Commit c0f9a49
committed
fix(types): check MemCache.provide against typed keys and type cachedProvide
provide's compute result must match a typed key's value, its callback
may take the key elements, and cachedProvide returns what its function
returns rather than unknown.1 parent a4cba17 commit c0f9a49
3 files changed
Lines changed: 33 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
170 | 176 | | |
171 | 177 | | |
172 | 178 | | |
173 | 179 | | |
174 | 180 | | |
175 | 181 | | |
176 | | - | |
177 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
178 | 185 | | |
179 | 186 | | |
180 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1197 | 1197 | | |
1198 | 1198 | | |
1199 | 1199 | | |
1200 | | - | |
1201 | | - | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1202 | 1206 | | |
1203 | 1207 | | |
1204 | 1208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20009 | 20009 | | |
20010 | 20010 | | |
20011 | 20011 | | |
20012 | | - | |
20013 | | - | |
| 20012 | + | |
| 20013 | + | |
| 20014 | + | |
| 20015 | + | |
| 20016 | + | |
| 20017 | + | |
| 20018 | + | |
| 20019 | + | |
| 20020 | + | |
| 20021 | + | |
| 20022 | + | |
| 20023 | + | |
| 20024 | + | |
| 20025 | + | |
| 20026 | + | |
| 20027 | + | |
20014 | 20028 | | |
20015 | 20029 | | |
20016 | 20030 | | |
| 20031 | + | |
| 20032 | + | |
20017 | 20033 | | |
20018 | 20034 | | |
20019 | 20035 | | |
| |||
0 commit comments