Sam A. Horvath-Hunt
Sam A. Horvath-Hunt
Made the PR [here](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/27099) with the help of @davej. Hopefully they'll be up soon-ish!
It's [merged](https://github.com/definitelytyped/DefinitelyTyped/tree/master/types/react-copy-write) and should be available on npm shortly. :confetti_ball: Edit: [It's up!](https://www.npmjs.com/package/@types/react-copy-write) :confetti_ball:
As I alluded to in the comments of the type definition I had two ideas to solve the `any` issue but both involve features not yet offered by TypeScript. 1....
There is unfortunately not yet a `DeepReadonly` in the standard library (see [here](https://github.com/Microsoft/TypeScript/issues/13923)), so I added one myself that has unfortunately proven naive. I'm making a PR to change it...
Back to the `any` issue, I still haven't cracked it but I think this is better than what we have now. Give it a try and let me know how...
^^ Please try and feedback the above before I submit a PR, don't want to introduce any more instability (a la the `DeepReadonly` issue). :smile:
@davej Aside from generally noticing any potential regressions, I'm just wondering if for others those specified caveats are worthwhile. I think they are but I want feedback before I thrust...
VSCode isn't giving me any errors, what's the build error? @davej
Hmm, I think that would suggest an issue with those; I've never personally seen TypeScript fail without telling you why, however verbose or cryptic.
Seconding @deviantfero's suggestion - Tridactyl and some other WebExtensions allow you to open an external editor, for example Vim, on a keybind and then once you exit said editor the...