(input: &str, filename: String)
| 10 | use swc_ecmascript::parser::{Syntax, TsSyntax}; |
| 11 | |
| 12 | pub fn compile_typescript(input: &str, filename: String) -> Result<CompiledItem, String> { |
| 13 | compile_typescript_inner(input, filename) |
| 14 | } |
| 15 | |
| 16 | fn compile_typescript_inner(input: &str, filename: String) -> Result<CompiledItem, String> { |
| 17 | swc_common::GLOBALS.set(&Default::default(), || { |
no test coverage detected