Skip to content

typescript frontend #9

@milahu

Description

@milahu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions