Skip to content

feat: Add cds-dk to default export#466

Closed
daogrady wants to merge 6 commits intomainfrom
feat/dk-in-default-export
Closed

feat: Add cds-dk to default export#466
daogrady wants to merge 6 commits intomainfrom
feat/dk-in-default-export

Conversation

@daogrady
Copy link
Copy Markdown
Contributor

@daogrady daogrady commented Jul 1, 2025

We have to remove the export of cds-dk before performing the rollup, as API extractor does not understand the export * syntax. When adding it back in, it was only added to the named exports so far. This PR adds it to the default export as well.

Comment thread CHANGELOG.md Outdated
@daogrady daogrady changed the title Add cds-dk to default export feat: Add cds-dk to default export Apr 28, 2026
@daogrady
Copy link
Copy Markdown
Contributor Author

Closing, as export declarations are not permitted in namespaces.

We therefore can not do

declare namespace '@sap/cds' {
  export * from '@sap/cds-dk';
}

@daogrady daogrady closed this Apr 28, 2026
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