Skip to content
New issue

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

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

Already on GitHub? # to your account

[WIP] make js / d.ts files consistent #735

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sly7-7
Copy link
Contributor

@sly7-7 sly7-7 commented Feb 7, 2025

It's a WIP related #715

As per #715 (comment) , I've removed all the FileTypeOptions arguments passed in helper functions fileTypeFromXXX.
Some tests are now failing, it emphasizes the fact that some functions currently have the ability to take a FileTypeOptions argument but not others.

I've also reorganized a bit the file structure of core.js/core.d.ts and index.js/index.d.ts to make them more or less aligned.

Please let me know if that makes sense, and what would you do about the "helpers" functions, make all of them or none of them able to take FileTypeOptions argument.

@sly7-7 sly7-7 changed the title make js / d.ts files consistent [WIP] make js / d.ts files consistent Feb 7, 2025
@Borewit Borewit marked this pull request as draft February 19, 2025 16:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant