From a7d2b8ed17b18022de62cb3646faaadc1b580647 Mon Sep 17 00:00:00 2001 From: Brad Zacher Date: Tue, 21 Nov 2023 10:03:37 +1030 Subject: [PATCH] fix(typescript-estree): ensure backwards compat with pre-5.3 import attributes --- packages/typescript-estree/src/convert.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/typescript-estree/src/convert.ts b/packages/typescript-estree/src/convert.ts index cd5171f451a6..4be5c8783b6d 100644 --- a/packages/typescript-estree/src/convert.ts +++ b/packages/typescript-estree/src/convert.ts @@ -3180,6 +3180,8 @@ export class Converter { }); } + // eslint-disable-next-line deprecation/deprecation -- required for backwards-compatibility + case SyntaxKind.AssertEntry: case SyntaxKind.ImportAttribute: { return this.createNode(node, { type: AST_NODE_TYPES.ImportAttribute, 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