{"record":{"id":"0c1c2ff69d9317c0","repo":"swc-project/swc","slug":"flow-type","errorCode":null,"errorMessage":"flow type","messagePattern":"flow type","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/swc_estree_compat/src/swcify/typescript.rs","lineNumber":109,"sourceCode":"            type_ann: self.type_annotation.swcify(ctx),\n        }\n    }\n}\n\nimpl Swcify for TSType {\n    type Output = Box<TsType>;\n\n    fn swcify(self, _: &Context) -> Self::Output {\n        todo!(\"swc currently does not support importing typescript module from babel\")\n    }\n}\n\nimpl Swcify for SuperTypeParams {\n    type Output = TsTypeParamInstantiation;\n\n    fn swcify(self, ctx: &Context) -> Self::Output {\n        match self {\n            SuperTypeParams::Flow(_) => unimplemented!(\"flow type\"),\n            SuperTypeParams::TS(v) => v.swcify(ctx),\n        }\n    }\n}\n\nimpl Swcify for Access {\n    type Output = Accessibility;\n\n    fn swcify(self, _: &Context) -> Self::Output {\n        match self {\n            Access::Public => Accessibility::Public,\n            Access::Private => Accessibility::Private,\n            Access::Protected => Accessibility::Protected,\n        }\n    }\n}\n\nimpl Swcify for TSEntityName {","sourceCodeStart":91,"sourceCodeEnd":127,"githubUrl":"https://github.com/swc-project/swc/blob/d7d74346665e36e692aa07e13d4ee3ee692ee35c/crates/swc_estree_compat/src/swcify/typescript.rs#L91-L127","documentation":"Error \"flow type\" thrown in swc-project/swc.","triggerScenarios":"Thrown at crates/swc_estree_compat/src/swcify/typescript.rs:109 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d7d74346665e36e692aa07e13d4ee3ee692ee35c","analyzedAt":"2026-08-16T12:41:13.160Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}