Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add types to exports (fixes issue muratgozel#38 for ES imports)
See TypeScript issue here: microsoft/TypeScript#52363 I don't entirely follow what TS is doing, but I've based this commit on a PR linked from that discussion: gxmari007/vite-plugin-eslint#60 I don't think this will work for CJS imports as TS seems to be pedantic around file suffixes -- we may need to copy or wrap the .d.ts file somehow. I'll investigate that separately.
- Loading branch information