Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hack: Downgrade ES target to handle bug in library
See voxpelli/pony-cause#35 pony-cause is used by Umzug, so yeah, until that's resolved ES2022 is off limits.
- Loading branch information
8625de7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: Its not a bug in the library, its a bug in TS itself: microsoft/TypeScript#48098
8625de7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8625de7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kf6kjg Me and @ljharb both were active in the creation of the spec and our two libraries are the ones linked to from the proposal. I think it would be fair to say that the two of us have an accurate interpretation of the spec :)
8625de7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol, then yeah, TS got it wrong. :)
[EDIT: I see that a TS Fix is in the works pending a CLA kerfuffle that's being resolved. Excellent.]
8625de7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"TS got it wrong", fwiw, is almost always what's happening, and is the appropriate default assumption.