Closed
Bug 1712446
Opened 4 years ago
Closed 4 years ago
Incorporate @types/foo for dependencies of frontend code
Categories
(Webtools Graveyard :: Pontoon, task)
Webtools Graveyard
Pontoon
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: axel, Unassigned)
References
Details
Attachments
(1 file)
When converting to TypeScript, I only took some of the available external type libraries for the frontend dependencies.
Tracking to investigate which are available, and which fixes they need.
https://www.typescriptlang.org/dt/search allows to search for modules easily.
| Reporter | ||
Comment 1•4 years ago
|
||
Useful tool: npx typesync --dry-run
Packages that don't work for us:
react-linkifyhas a typing lib, but they don't support thepropertiesprop, which has been removed on master. An upcoming release is likely gonna ship with typescript bindings, too.
I personally gave up trying
react-redux, and thus anything withreduxin its name. That's rightfully its own bug 1712447.react-tabs, the commentTabRef was beyond me.
I'll have a PR for the simple stuff, though.
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•