Skip to main content

Module scripting

Module scripting 

Source

Modules§

physics_ops
render_ops

Structs§

ArcaneRuntime
Wraps a deno_core::JsRuntime configured with our TypeScript module loader.
ImportMap
Import map for resolving bare specifiers to file paths
TestResult
Result of a single test case.
TestSummary
Summary of a test file run.
TsModuleLoader
Loads .ts and .js files from the filesystem with import map support. TypeScript files are transpiled via deno_ast (type stripping). JavaScript files pass through unchanged.

Functions§

run_test_file
Run a single .test.ts file in V8 and collect results.
run_test_file_with_import_map
Run a single .test.ts file in V8 with import map support.