{"record":{"id":"91004026c26d38ba","repo":"swc-project/swc","slug":"unimplemented","errorCode":null,"errorMessage":"unimplemented","messagePattern":"unimplemented","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/swc_estree_compat/src/babelify/typescript.rs","lineNumber":216,"sourceCode":"        }\n    }\n}\n\nimpl Babelify for TsTypeElement {\n    type Output = TSTypeElement;\n\n    fn babelify(self, ctx: &Context) -> Self::Output {\n        match self {\n            TsTypeElement::TsCallSignatureDecl(t) => {\n                TSTypeElement::CallSignatureDecl(t.babelify(ctx))\n            }\n            TsTypeElement::TsConstructSignatureDecl(t) => {\n                TSTypeElement::ConstructSignatureDecl(t.babelify(ctx))\n            }\n            TsTypeElement::TsPropertySignature(t) => TSTypeElement::PropSignature(t.babelify(ctx)),\n            TsTypeElement::TsMethodSignature(t) => TSTypeElement::MethodSignature(t.babelify(ctx)),\n            TsTypeElement::TsIndexSignature(t) => TSTypeElement::IndexSignature(t.babelify(ctx)),\n            TsTypeElement::TsGetterSignature(_) => panic!(\"unimplemented\"),\n            TsTypeElement::TsSetterSignature(_) => panic!(\"unimplemented\"),\n            #[cfg(swc_ast_unknown)]\n            _ => panic!(\"unable to access unknown nodes\"),\n        }\n    }\n}\n\nimpl Babelify for TsCallSignatureDecl {\n    type Output = TSCallSignatureDeclaration;\n\n    fn babelify(self, ctx: &Context) -> Self::Output {\n        TSCallSignatureDeclaration {\n            base: ctx.base(self.span),\n            type_parameters: self.type_params.map(|t| t.babelify(ctx)),\n            parameters: self\n                .params\n                .into_iter()\n                .map(|param| param.babelify(ctx).into())","sourceCodeStart":198,"sourceCodeEnd":234,"githubUrl":"https://github.com/swc-project/swc/blob/d7d74346665e36e692aa07e13d4ee3ee692ee35c/crates/swc_estree_compat/src/babelify/typescript.rs#L198-L234","documentation":"Error \"unimplemented\" thrown in swc-project/swc.","triggerScenarios":"Thrown at crates/swc_estree_compat/src/babelify/typescript.rs:216 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"}