Skip to content

build: TS isolatedModules - #2259

Open
ricellis wants to merge 1 commit into
mainfrom
s1261-ts-isolated-modules
Open

ricellis wants to merge 1 commit into
mainfrom
s1261-ts-isolated-modules

Conversation

@ricellis

Copy link
Copy Markdown
Member

PR summary

Enable isolatedModules in tsconfig

Fixes: s1261

PR Checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the
    Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features) - build
  • Docs have been added / updated (for bug fixes / features) - build

PR Type

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • New tests
  • Build/CI related changes
  • Documentation content changes
  • Other (please describe)

What is the current behavior?

Warnings from e.g. ts-jest for lack of isolatedModules. Enabling isolatedModules fails for some of the type exports.

What is the new behavior?

  • Adjust tsconfig.json
    • Enable isolatedModules
    • Specify rootDir so to remain consistent with current
  • Export CouchdbSessionAuthenticatorOptions and Pager as types.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

The only differences in the dist output are in the type declarations and maps.

@ricellis ricellis self-assigned this Oct 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant