fix(directives): Add explicit type annotations to subscribeWithTemplate directive export

This commit is contained in:
2025-04-18 19:22:57 +00:00
parent af2b4048d0
commit 2e64489e9b
3 changed files with 19 additions and 2 deletions

View File

@ -1,5 +1,12 @@
# Changelog
## 2025-04-18 - 2.0.42 - fix(directives)
Add explicit type annotations to subscribeWithTemplate directive export
- Imported DirectiveResult type for better typing
- Defined SubscribeWithTemplateFn signature to ensure proper type inference
- Used type assertion with 'as SubscribeWithTemplateFn' to improve type safety
## 2025-04-18 - 2.0.41 - fix(directives)
Refactor export statements in directives index for consistency