Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

incorrect type - TryStatement's finalizer property can't be null #2912

Closed
Labels
bugSomething isn't workinghas prthere is a PR raised to close thispackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree
@RebeccaStevens

Description

@RebeccaStevens

Please don't ignore this template.

There doesn't seem to be a template for "@typescript-eslint/types".

Checks

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I haveread the FAQ and my problem is not listed.

Problem

Thefinalizer property on theTryStatement node type can benull but the type says it can't be.

Expected Type

interfaceTryStatementextendsBaseNode{// ...finalizer:BlockStatement|null;}

Actual Type

interfaceTryStatementextendsBaseNode{// ...finalizer:BlockStatement;}

Versions

packageversion
@typescript-eslint/type4.11.1
TypeScript4.1.3
node14.15.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghas prthere is a PR raised to close thispackage: typescript-estreeIssues related to @typescript-eslint/typescript-estree

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp