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

Fixes for TS type issues introduced in racer@2.2.0 / TS 5.5 #313

Merged
merged 3 commits into from
Jul 22, 2024

Commits on Jul 22, 2024

  1. [TS typings] Fix typing for util.use(plugin, options) to allow strong…

    …ly typed plugin functions
    
    Resolves error introduced in racer@2.2.0 where Derby app.use plugins had TS compile errors
    ericyhwang committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    669dc87 View commit details
    Browse the repository at this point in the history
  2. Fix errors with TS 5.5, switch typescript to '~' dependency specifier…

    … since TypeScript doesn't use semver
    
    - Remove noImplicitUseStrict compiler flag, since TS 5.5 no longer supports it
    
    - Put preserve="true" on triple-slash reference directives used to load types for server-only model methods, since TS 5.5 strips the directives without the new preserve attribute
    ericyhwang committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    cd397f6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db2917c View commit details
    Browse the repository at this point in the history