-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Clarify Why We Need Manual
.d.ts
Files for Our Child Classes
We forgot about these limitations... And because we forgot about these limitations, we ran off and tried to remove the `FormStorageObserver.d.ts` and `FormValidityObserver.d.ts` files... But then we saw the problems that came up when TypeScript attempted to generate these files automatically from the JS files... We're not interested in enduring that headache again. Note that even if we remove generic constructors from the `FormStorageObserver` and the `FormValidityObserver`, TypeScript will still get confused. We've further documented why we're stuck in this predicament, and we hope the TypeScript team will pull through for us at some point.
- Loading branch information
1 parent
c2ca263
commit 1f20c65
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters