{"type":"data","nodes":[null,null,{"type":"data","data":[{"version":1,"api":2},"0.1.77",{"transform_sync":3,"TransformResult":21},{"name":4,"kind":5,"signature":6,"description":7,"params":8,"returns":19},"transform_sync","function","pub fn transform_sync(_env : Env, code : String, filepath : String) -> Result \u003C TransformResult >","Synchronously transforms TypeScript code through the macro expansion system.\n\nThis is similar to [`expand_sync`] but returns a [`TransformResult`] which\nincludes source map information (when available).",[9,13,16],{"name":10,"type":11,"description":12},"_env","","NAPI environment (unused but required by NAPI)",{"name":14,"type":11,"description":15},"code","The TypeScript source code to transform",{"name":17,"type":11,"description":18},"filepath","The file path (used for TSX detection)",{"type":11,"description":20},"A [`TransformResult`] containing the transformed code and metadata.",{"name":22,"kind":23,"signature":24,"description":25},"TransformResult","struct","pub struct TransformResult","Result of transforming TypeScript code through the macro system.\n\nThis struct is returned by [`transform_sync`] and contains the transformed code\nalong with optional source maps, type declarations, and metadata about processed classes."],"uses":{}}]}
