Closed IagoAbal closed 2 years ago
Previously we just dropped the type.
Helps returntocorp/semgrep#4515
test plan: $ cat test.ts (v8 as any) $ pfff -lang ts -dump_ts test.ts [(ExprStmt ((TypeAssert ((Id ("v8", ())), (), (TyName [("any", ())]))), ()))]
Previously we just dropped the type.
Helps returntocorp/semgrep#4515
test plan: $ cat test.ts (v8 as any) $ pfff -lang ts -dump_ts test.ts [(ExprStmt ((TypeAssert ((Id ("v8", ())), (), (TyName [("any", ())]))), ()))]
Security