Skip to content

feat(chatproviderservice): convert package to --!strict typing#718

Merged
Quenty merged 1 commit into
mainfrom
users/james/strict-type-chatproviderservice
Jun 24, 2026
Merged

feat(chatproviderservice): convert package to --!strict typing#718
Quenty merged 1 commit into
mainfrom
users/james/strict-type-chatproviderservice

Conversation

@Quenty

@Quenty Quenty commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Converts the remaining ChatProviderService package modules from --!nonstrict to --!strict with explicit Nevermore-style type annotations. Along the way it fixes two latent bugs the type checker surfaced: the developer and admin tags were built with a misnamed LocalizedText field (now TagLocalizedText) so their localized text was silently dropped, and ChatTagBase typed ChatTagKey as a boolean even though it stores the string tag key. No public API behavior changes otherwise.

Convert the ChatProviderService package's remaining --!nonstrict modules
to --!strict, adding explicit type annotations following Nevermore
conventions. Also fixes latent bugs surfaced by the type checker: the
developer/admin tags passed a misnamed LocalizedText field (now
TagLocalizedText) so localized text was never applied, and ChatTagKey was
typed as a boolean in ChatTagBase though it holds the string tag key.
@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown

Deploy Results

ℹ️ No changed packages with deploy targets were discovered for this PR. · View logs

Test Results

Package Status Try it
@quenty/chatproviderservice ✅ Passed (3/3) (1.3s) Open | Play

1 tested, 1 passed, 0 failed in 6.0s · View logs

@Quenty Quenty merged commit 3bfbf13 into main Jun 24, 2026
7 checks passed
@Quenty Quenty deleted the users/james/strict-type-chatproviderservice branch June 24, 2026 19:20
@Quenty

Quenty commented Jun 24, 2026

Copy link
Copy Markdown
Owner Author

🚀 PR was released in @quenty/chatproviderservice@9.53.0 🚀

@Quenty Quenty added the released This issue/pull request has been released. label Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released This issue/pull request has been released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant