pub fn strip_types_mapped(
source: &str,
filename: &str,
bynk_map: Option<&str>,
) -> Result<(String, Option<String>), StripError>Expand description
strip_types for one emitted module, also composing the module’s Bynk-to-JavaScript
source map: bynk_map is the emitter’s Bynk-to-TypeScript v3 map for the same module
(None skips the map work entirely). Returns the JavaScript and, when bynk_map was
given and the two maps compose, the composed v3 map as JSON (#2705).
This is the text-level seam the project-level strip in bynk-driver calls per module;
it keeps oxc’s source-map types inside this crate.