Skip to content

typescript-estree: allow setting deprecated node properties #6668

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Overview

Following #6525 (comment): turns out Prettier has logic that reassigns deprecated node properties. We'll need to allow that. Otherwise, https://github.com/prettier/prettier/actions/runs/4445538911/jobs/7804778641?pr=14429#step:4:60:

  TypeError: Cannot set property typeParameters of #<Object> which has only a getter
      at visitNode (file:///home/runner/work/prettier/prettier/src/language-js/parse/postprocess/visit-node.js:20:19)

Thanks @fisker for the comments 😄

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree

Type

No type

Projects

No projects

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