Commit 7a361b5
committed
fix: don't reference unpublished hypercore-storage types in migration.js exports
hypercore-storage ships no types and our
declarations for it in types/ are not published,
so the emitted dist/migration.d.ts ended with a
bare 'import CorestoreStorage from
hypercore-storage' that gave consumers TS2307 (or
silent any with skipLibCheck). Type the exported
signatures with a subset of CorestoreStorage
instead, making dist/migration.d.ts
self-contained.1 parent 9119ec6 commit 7a361b5
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
137 | 149 | | |
138 | 150 | | |
139 | | - | |
| 151 | + | |
140 | 152 | | |
141 | 153 | | |
142 | 154 | | |
| |||
152 | 164 | | |
153 | 165 | | |
154 | 166 | | |
| 167 | + | |
155 | 168 | | |
156 | 169 | | |
157 | 170 | | |
| |||
190 | 203 | | |
191 | 204 | | |
192 | 205 | | |
193 | | - | |
| 206 | + | |
194 | 207 | | |
195 | 208 | | |
196 | 209 | | |
| |||
0 commit comments