Skip to content
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

refactor: rename declarations to types in JsInfo & throughout rules_js #1619

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

gregmagolan
Copy link
Member

@gregmagolan gregmagolan commented Apr 7, 2024

declarations are a subset of types. For example, we include all .json files in "declarations" currently since typescript can resolve types from JSON files and may need package.json "types" field to resolve typings.

elif file.path.endswith(".json"):

@gregmagolan gregmagolan requested review from jbedard and alexeagle April 9, 2024 17:11
@gregmagolan gregmagolan marked this pull request as ready for review April 9, 2024 17:11
@alexeagle
Copy link
Member

SGTM, "declarations" was indeed a subset of typings.

@gregmagolan gregmagolan merged commit 26afad4 into 2.x Apr 9, 2024
99 checks passed
@gregmagolan gregmagolan deleted the rjs2_types branch April 9, 2024 18:26
@gregmagolan gregmagolan mentioned this pull request Apr 29, 2024
21 tasks
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.

2 participants