andrei-markeev / ts2c

Convert Javascript/TypeScript to C
ISC License
1.26k stars 95 forks source link

`as` #55

Closed zaoqi closed 4 years ago

zaoqi commented 5 years ago
var a=("a" as any) as string;
static const char * a;
int main(void) {
    a = /* Unsupported node: ("a" as any) as string */;
     ;

    return 0;
}
andrei-markeev commented 4 years ago

I'm concentrating on ES3 for now, so supporting TS features such as type conversions is still very far away.