use-tsconfig
Partial practical tsconfig.json metadata primitives for RustUse.
Experimental
use-tsconfig is experimental while use-js remains below 0.3.0.
Example
use ;
use ;
let options = new
.with_target
.with_module_resolution
.with_strictness;
let config = new.with_compiler_options.with_include;
assert_eq!;
# Ok::
Scope
- Intentionally partial
tsconfig.jsonmetadata. - Common compiler option fields such as target, module resolution, strict, JSX, base URL, and paths.
- Optional serde derives behind the
serdefeature.
Non-goals
- Full
tsconfigschema coverage. - JSON parsing.
- TypeScript compiler behavior or validation parity.
License
Licensed under either Apache-2.0 or MIT.