Basically, I dont know what I'm missing in the docs so I will provide examples below.
PrisBook:react-apollo$[develop !] retyped Query.d.ts
Error: Parse_error.Error: undefined
at Object.compile (/Users/prisc_000/.config/yarn/global/node_modules/reasonably-typed/lib/index.js:60:11)
at fs.readFile (/Users/prisc_000/.config/yarn/global/node_modules/reasonably-typed/lib/cli.js:56:40)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:528:3)
PrisBook:react-apollo$[develop !]
PrisBook:react-apollo$[develop !] retyped Query.js
β Unknown statement type when parsing libdef [in Query.js from 1:0 to 10:5]
> 1 | var __extends = (this && this.__extends) || (function () {
2 | var extendStatics = Object.setPrototypeOf ||
3 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
Compiled 0 file
There were errors with 1 file
Thank you.