Commit 61bd0b6
committed
fix: add type declaration for ./style export to resolve TS2882 error
The ./style export only pointed to a CSS file without type definitions,
causing tsc to fail with TS2882 when projects import inklayer-react/style.
Added dist/style.d.ts with explicit module declaration and updated package.json
exports to include types field.1 parent 188ee2f commit 61bd0b6
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
0 commit comments