Skip to main content

import_rn_file

Function import_rn_file 

Source
pub fn import_rn_file(spec_path: &Path) -> Result<ImportRnOutput, CodegenError>
Expand description

CLI entrypoint (nv codegen import-rn): parse a .ts/.js spec file on disk (following RN re-export wrappers automatically) and emit Rust + C++20 files.