react2solid
react2solid copied to clipboard
typescript frontend
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
solved in https://github.com/milahu/putout-plugin-react2solid
@milahu Thanks for your report. I will closely check and update