Skip to content

@btravstack/tsconfig@0.3.0

Choose a tag to compare

@btravers btravers released this 03 Sep 11:09
· 5 commits to main since this release
1c37772

Minor Changes

  • d2cd3a9: app.json: base.json with declaration and declarationMap off, for a
    workspace that emits no declarations.

    Declaration emit is type-checked even under noEmit, so declaration: true
    costs an application the errors it buys a library. Measured on a DI composition
    root with one unmet dependency: two TS4023 lines about a library's internal
    ID / SERVICE brand symbols printed first, and the sentence naming the
    missing port printed third. An application that ships no .d.ts has nothing to
    gain from that check and pays for it on every mistake, internals-first.

    A library keeps base.json, where the check is the guarantee that its consumers
    can build.