-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax error when using for typescript definitions #40
Comments
Looks like this is an upstream issue in Flowgen. We have our own Flowgen fork, reasonable-flowgen. |
Another instance of what's probably the same issue, while trying to run the parser on https://github.com/firebase/firebase-js-sdk/blob/master/packages/firebase/index.d.ts
|
It looks like the dependency on flowgen and even checking if the file is a typescript file was removed in c18c12a. As it is, it is trying to parse the typescript definitions as flow types. Was this intentional? Should we add back flowgen or reasonable-flowgen, or was there a different approach in mind? |
Now that ReasonablyTyped is compiling with BuckleScript, we can start to use JS libraries, specifically the TS parser. Look for ReasonablyTyped-native TS support coming soon 😁 This means there's some new areas for help, and some new issues I have to create. If anyone is looking for contribution opportunities though, BuckleScript bindings to the TS API would be awesome! |
I've been writing a ton of bindings lately. If you can point me at the specific interfaces that are highest priority for you I could start with those. |
@zploskey I'm working on bindings to the TS compiler in |
Are there any simple way to make it works with TypeScript for now? |
@digitake check out the 2 directory in the root of the project 🙂 that’s the future of the project, and it should be more clear what’s going on in it. |
Description
Tried running retyped compile for raven-js typescript definitions resulting in the following error.
Step to reproduce
yarn add -E [email protected]
retyped compile node_modules/raven-js/typescript/raven.d.ts
Setup details
retyped --version
0.11.0
bsc -version
BuckleScript 1.9.1 (Using OCaml4.02.3+BS )
If you need more details you can ping me on Discord (@arnar) or this issue 👍
The text was updated successfully, but these errors were encountered: