Skip to content

fix(csv-stringify): update TS types to allow cast to return an object #339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2022

Conversation

srmagura
Copy link
Contributor

Closes #337.

When I built the codebase, it updated all of the compiled code which is tracked by git. I'm not sure if I was supposed to commit these changes.

My actual code changes are to:

  • packages/csv-stringify/lib/index.d.ts
  • packages/csv-stringify/test/api.types.sync.ts

@wdavidw
Copy link
Member

wdavidw commented May 23, 2022

Thank you for the enhancement. Could you remove the dist generated file.

@srmagura srmagura force-pushed the stringify-cast-types branch from 9f671a5 to 7c2c8ce Compare May 23, 2022 15:10
@srmagura
Copy link
Contributor Author

Done. Out of curiosity, why are the dist files tracked by git?

@wdavidw wdavidw merged commit 60efa78 into adaltas:master May 24, 2022
@wdavidw
Copy link
Member

wdavidw commented May 24, 2022

why are the dist files tracked by git?

Mostly for documentation purposes, if someone open the package.json file and try to understand the all mess of CJS, ESM, TS, ... his understanding is facilitated by the files being present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incomplete TypeScript definitions for cast option in csv-stringify
2 participants