Skip to content
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

typescript frontend #9

Open
milahu opened this issue Oct 30, 2022 · 2 comments
Open

typescript frontend #9

milahu opened this issue Oct 30, 2022 · 2 comments

Comments

@milahu
Copy link

milahu commented Oct 30, 2022

currently the converter fails on typescript input

let a: number = 1 

// error: Missing semicolon.
function f(): string {
  return ""
}

// error: Unexpected token, expected "{"
import type { X } from 'x'

// error: Unexpected token, expected "from"
export interface X {
  s: string
}

// error: This experimental syntax requires enabling one of the following parser plugin(s): "flow", "typescript".
interface X {
  s: string
}

// error: Unexpected reserved word 'interface'.

etc

@milahu
Copy link
Author

milahu commented Oct 30, 2022

@rrjanbiah
Copy link
Owner

@milahu Thanks for your report. I will closely check and update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants