Skip to content

Fix public assert typings#39

Merged
V3RON merged 2 commits into
mainfrom
fix-assert-types
May 15, 2026
Merged

Fix public assert typings#39
V3RON merged 2 commits into
mainfrom
fix-assert-types

Conversation

@V3RON

@V3RON V3RON commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the public assert type aliasing from a default node:assert/strict import with typeof import(...) so consumers keep the full Node assert surface instead of degrading to any
  • add a focused consumer-style TypeScript fixture that typechecks the built package export and guards both core assert methods and custom SkillGym assertion helpers

Testing

  • pnpm exec vitest run test/public-api.test.ts
  • pnpm exec tsc -p ./tsconfig.build.json && pnpm exec tsc -p ./test/fixtures/public-assert-types/tsconfig.json

@V3RON V3RON merged commit 9facf01 into main May 15, 2026
4 checks passed
@V3RON V3RON deleted the fix-assert-types branch May 15, 2026 06:25
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