Project

General

Profile

Actions

Bug #20898

open

Fix narrowing issue in withDialog declaration

Added by Lisa Knox 8 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-

Description

In src/store/dialog/with-dialog.ts, there is a 5 year old `TODO: fix this` comment on line 23. The fix is to pass `component as never` instead of just `component` into the connect function on line 26. The cause is a known issue with narrowing in Typescript that is slated to be fixed in Typescript 5.3.

Actions #1

Updated by Peter Amstutz 6 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF