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

Fixed extension type discovery for papi-dts #262

Merged
merged 1 commit into from
Jun 22, 2023
Merged

Fixed extension type discovery for papi-dts #262

merged 1 commit into from
Jun 22, 2023

Conversation

tjcouch-sil
Copy link
Member

@tjcouch-sil tjcouch-sil commented Jun 22, 2023

It seems TypeScript doesn't like that I didn't explicitly spell out the types file though I thought I read in their documentation that it will try to infer it. Oh well.

EDIT: I see now that the TS documentation says it only infers the types file to be index.d.ts if the main file is named index.js. I guess that means it doesn't infer if the main file is not named index.js, which is a bit ambiguous to me... Oh well again.


This change is Reviewable

Copy link
Contributor

@rolfheij-sil rolfheij-sil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @tjcouch-sil)

@tjcouch-sil tjcouch-sil merged commit 3e1519f into main Jun 22, 2023
6 checks passed
@tjcouch-sil tjcouch-sil deleted the fix-types branch June 22, 2023 16:12
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