Skip to content

Repo: Build break in local development on mainΒ #6163

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion

πŸ™ƒ

    βœ–  nx run parser:build
$ tsc -b tsconfig.build.json
       src/parser.ts(108,5): error TS2322: Type '{ ecmaVersion: number | undefined; globalReturn: boolean | undefined; jsxPragma: string | null | undefined; jsxFragmentName: string | null | undefined; lib: Lib[] | undefined; sourceType: "script" | "module"; }' is not assignable to type 'AnalyzeOptions'.
         Object literal may only specify known properties, and 'ecmaVersion' does not exist in type 'AnalyzeOptions'.
josh ~/repos/typescript-eslint/packages/parser $ yarn build   
yarn run v1.22.19
$ tsc -b tsconfig.build.json
src/parser.ts:108:5 - error TS2322: Type '{ ecmaVersion: number | undefined; globalReturn: boolean | undefined; jsxPragma: string | null | undefined; jsxFragmentName: string | null | undefined; lib: Lib[] | undefined; sourceType: "script" | "module"; }' is not assignable to type 'AnalyzeOptions'.
  Object literal may only specify known properties, and 'ecmaVersion' does not exist in type 'AnalyzeOptions'.

108     ecmaVersion: options.ecmaVersion === 'latest' ? 1e8 : options.ecmaVersion,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Found 1 error.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

Labels

accepting prsGo ahead, send a pull request that resolves this issuerepo maintenancethings to do with maintenance of the repo, and not with code/docs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy