Commit c572918
committed
update deps, add @jbrowse/quick-lru, pin eslint to v9
Add explicit Promise<Stats> return type to LocalFile.stat() so the
generated .d.ts references the duck-typed Stats interface from
filehandle.ts instead of import("fs").Stats. This means consumers no
longer need @types/node to type-check against this package.
Also add rootDir to tsconfig (required by TS6) and pass
--moduleResolution bundler to the CJS build to match the pattern used
in other packages in this org.1 parent 91c3a1c commit c572918
4 files changed
+112
-223
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
0 commit comments