diff options
Diffstat (limited to 'core/examples')
-rw-r--r-- | core/examples/ts_module_loader.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/examples/ts_module_loader.rs b/core/examples/ts_module_loader.rs index 68ee06e60..7771812d3 100644 --- a/core/examples/ts_module_loader.rs +++ b/core/examples/ts_module_loader.rs @@ -69,7 +69,7 @@ impl ModuleLoader for TypescriptModuleLoader { let code = if should_transpile { let parsed = deno_ast::parse_module(ParseParams { specifier: module_specifier.to_string(), - source: SourceTextInfo::from_string(code), + text_info: SourceTextInfo::from_string(code), media_type, capture_tokens: false, scope_analysis: false, |