From #68 > This change only does rewrite codes with TypeScript. To publish d.ts in npm, we need push more patch onto this. Can we use resolve this issue by using babel `--copy-files` option? - [ ] add `types` field in pacakge.json - [ ] add *d.ts files to `lib/`