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
currently the converter fails on typescript input
etc