Skip to content

Exports types in the package#76

Merged
alexluckett merged 3 commits intomainfrom
feature/export-types
May 20, 2025
Merged

Exports types in the package#76
alexluckett merged 3 commits intomainfrom
feature/export-types

Conversation

@alexluckett
Copy link
Copy Markdown
Contributor

@alexluckett alexluckett commented May 20, 2025

Proposed change

Exports the types via .d.ts files from the build, so that consuming applications can get type hints.
This supports the refactor in the forms-runner as it will error without.

From a consumer's perspective...

Before (errors, no type hints):
image

After (working type hints):
image

Azure DevOps work item: 533186

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Misc. (documentation, build updates, etc)

Checklist

  • You have executed this code locally and it performs as expected.
  • You have added tests to verify your code works.
  • You have added code comments and JSDoc, where appropriate.
  • There is no commented-out code.
  • You have added developer docs in README.md and docs/* (where appropriate, e.g. new features).
  • The tests are passing (npm run test).
  • The linting checks are passing (npm run lint).
  • The code has been formatted (npm run format).

@alexluckett alexluckett merged commit d999677 into main May 20, 2025
8 checks passed
@alexluckett alexluckett deleted the feature/export-types branch May 20, 2025 16:55
@sonarqubecloud
Copy link
Copy Markdown

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.

2 participants