Commit Graph

6 Commits

Author SHA1 Message Date
hyper d056145462 fix: change format of output .d.ts files 2026-03-31 16:12:17 +08:00
hyper 525ae262fd feat: add writeToDisk option for dev server support
- Add writeToDisk option to write .d.ts files directly to disk
- Useful for rsbuild/rspack dev server which uses in-memory FS
- Set writeToDisk: true in dev mode to see generated types

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-31 15:54:38 +08:00
hyper 452b600487 fix: use declare module syntax for type definitions
- Change from standalone .d.ts to module augmentation style
- Now properly declares types for the CSV module path
- Fixes TypeScript module resolution

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-31 15:25:58 +08:00
hyper 69b419256c feat: add TypeScript type definition generation for csv-loader
- Add emitTypes option (default true) to generate .d.ts files
- Add typesOutputDir option for custom output directory
- Generate interface based on CSV schema definitions
- Export RowType for explicit type imports

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-31 15:19:03 +08:00
hyper 9a8cdcaaea refactor: default csv-parse params 2026-03-31 14:45:02 +08:00
hypercross fe2e323d19 feat: csv-loader? 2026-03-31 13:02:29 +08:00