swc-project/swc · error
flow type
Error message
flow type
What it means
Error "flow type" thrown in swc-project/swc.
Source
Thrown at crates/swc_estree_compat/src/swcify/typescript.rs:109
type_ann: self.type_annotation.swcify(ctx),
}
}
}
impl Swcify for TSType {
type Output = Box<TsType>;
fn swcify(self, _: &Context) -> Self::Output {
todo!("swc currently does not support importing typescript module from babel")
}
}
impl Swcify for SuperTypeParams {
type Output = TsTypeParamInstantiation;
fn swcify(self, ctx: &Context) -> Self::Output {
match self {
SuperTypeParams::Flow(_) => unimplemented!("flow type"),
SuperTypeParams::TS(v) => v.swcify(ctx),
}
}
}
impl Swcify for Access {
type Output = Accessibility;
fn swcify(self, _: &Context) -> Self::Output {
match self {
Access::Public => Accessibility::Public,
Access::Private => Accessibility::Private,
Access::Protected => Accessibility::Protected,
}
}
}
impl Swcify for TSEntityName {View on GitHub (pinned to d7d7434666)
When it happens
Trigger: Thrown at crates/swc_estree_compat/src/swcify/typescript.rs:109 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of swc-project/swc@d7d7434666 (2026-08-16).
Data as JSON: /api/errors/0c1c2ff69d9317c0.
Report an issue: GitHub.