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

Specify "types" in tsconfig.json #89

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

Specify "types" in tsconfig.json #89

wants to merge 1 commit into from

Commits on Mar 20, 2023

  1. Specify "types" in tsconfig.json

    By default TS will pull in any global modifying types that it finds - by specifying a types field it'll only pull in specific ones - which is usually a very small list of packages.
    
    This fixes a current issue where @types/estree conflicts with @types/eslint causes `npm run build` to fail.  But neither set of typings is needed so specifying "types" avoids the issue.
    Retsam committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    0684d33 View commit details
    Browse the repository at this point in the history