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

Corrects bug in type discovery. #11

Merged
merged 1 commit into from
Jan 15, 2023
Merged

Commits on Jan 15, 2023

  1. Corrects bug in type discovery.

    For reasons I don't understand, TypeScript is finding `index.ts` instead of `index.d.ts` when it goes looking for types for `index.js`.
    This is despite the docs saying that it will find `index.d.ts`.
    https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html#including-declarations-in-your-npm-package
    
    None the less, this can be resolved by just being explicit, as done in this PR.
    MicahZoltu committed Jan 15, 2023
    Configuration menu
    Copy the full SHA
    41498c3 View commit details
    Browse the repository at this point in the history