Skip to main content

strip_types

Function strip_types 

Source
pub fn strip_types(source: &str) -> Result<String, ScriptError>
Expand description

source without its TypeScript types: the same text where they were blanks, so positions in it are positions in the original (drawland-ts).