This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Commit 7b9a7e1
Specify correct type of joinClasses
Summary:
The type of `joinClasses` in fbjs 1.0 which draft-js open-source uses is incorrect (it is correct in www), specify the correct type when importing.
I would have thought that I would have to cast the import to `any` before casting it to a different type, but apprently this works (tested in cloned github repo).
Reviewed By: claudiopro
Differential Revision: D14318804
fbshipit-source-id: e4fd34ca5efda6fd9be681a49905d9e9fdb9e3ae1 parent 6183935 commit 7b9a7e1
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
0 commit comments