GeneratorConfig Type
Per-package generator configuration, read from `xantham.json` next to the package manifest when present (decision O4 in `docs/plans/generator-architecture.md`).
Record fields
| Record Field |
Description
|
|
Disposition per group, keyed as `xantham.json` spells them: npm name for a dependency, `typescript/lib` for the compiler lib.
|
Full Usage:
Lib
Field type: string list option
|
The compiler's `lib` option, as `tsconfig.json` spells it (`["esnext"]`). `None` is the compiler's default, which includes the DOM. A global type library that redeclares DOM names (`@cloudflare/workers-types`) must set this to what its README prescribes: with the DOM loaded, every such name merges with the lib's declaration, is grouped as the compiler lib by its first declaration, and is not the package's to harvest.
|
Full Usage:
ModuleName
Field type: string option
|
Overrides the F# module name otherwise derived from the package name.
|
Full Usage:
Namespace
Field type: string option
|
The F# namespace a package family is written under. The entry package takes the
namespace itself, and each group named under `groups` takes `
|
Full Usage:
RuntimePackage
Field type: string option
|
Overrides the npm package the generated `[
|
Static members
| Static member |
Description
|
|
|