Angular v21 Host Binding Typecheck
/Angular v21 Host Binding Typecheck
Przegląda sprawdzanie typów wiązań hosta w Angularze 21, gdy komponenty używają @HostBinding i mogą przestać się kompilować.
- Autor
- janpereira-dev ↗
- Repozytorium
- ngautopilot ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 25.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Przegląda sprawdzanie typów wiązań hosta w Angularze 21, gdy komponenty używają @HostBinding i mogą przestać się kompilować.
Oryginalny opis (EN)
Review Angular 21 host binding type checking after an Angular 21 upgrade when components or directives use @HostBinding or host metadata. Use when strict host binding types or inherited host bindings may fail compilation.
Jak działa
- Purpose
- When to Use
- When Not to Use
- Required Inputs
- Procedure
- Do
- Do Not
- Review Checklist
- Expected Output
- Exit Criteria
Podgląd SKILL.md
---
id: angular.upgrade.templates.angular-v21-host-binding-typecheck
name: Angular v21 Host Binding Typecheck
description: >
Review Angular 21 host binding type checking after an Angular 21 upgrade when components or directives use @HostBinding or host metadata. Use when strict host binding types or inherited host bindings may fail compilation.
stack:
- Angular
- TypeScript
category: templates
status: stable
version: 0.11.0
owner: NgAutoPilot
triggers:
- host binding typecheck
- HostBinding
- host metadata
- inherited host bindings
compatibility:
angular:
min: "21"
---
# Angular v21 Host Binding Typecheck
## Purpose
Review Angular 21 host binding type checking.
## When to Use
- Components or directives use `@HostBinding`.
- Host metadata exists.
- The app is stable on Angular 21.
## When Not to Use
- The app has no host bindings.
- The app is still in a version hop.
## Required Inputs
- host binding code
- directive metadata
- inherited host bindings
- tests for affected components
## Procedure
1. Identify host-bound values.
2. Fix type errors explicitly.
3. Validate rendered state and tests.
## Do
- Keep host binding types explicit.
- Validate inherited bindings.
## Do Not
- Do not hide errors behind `any`.
- Do not mix this with the version hop.
## Review Checklist
- [ ] Host binding types are correct.
- [ ] Inherited bindings are correct.
- [ ] Tests pass.
## Expected Output
1. Host binding summary.
2. Type fixes.
3. Test result.
## Exit Criteria
- Host binding risk is explicit.
Wersje
W bazie nie ma innych skilli o nazwie Angular v21 Host Binding Typecheck.
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki f7a830046689 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 80Angular OnPush Host Bindings v18
Przegląda komponenty OnPush z wiązaniami hosta po wersji 18, gdy stan lub callbacki nie odświeżają widoku tak, jak trzeba. - 90angular-components-angular-v22-component-contracts
Sprawdza, jak zmiany w Angular 22 wpływają na tworzenie komponentów, reguły selektorów, dyrektywy hosta i domyślne zachowanie. - 100angular
Pokazuje, jak używać custom elements w Angularze, w tym wymaganą konfigurację CUSTOM_ELEMENTS_SCHEMA, w modułach i komponentach standalone. - 95angular-ui-patterns
Opisuje nowoczesne wzorce UI w Angularze dla stanów ładowania, obsługi błędów i wyświetlania danych. - 95angular-ui-patterns
Opisuje nowoczesne wzorce UI w Angularze dla stanów ładowania, obsługi błędów i wyświetlania danych. - 95angular-ui-patterns
Opisuje nowoczesne wzorce UI w Angularze dla stanów ładowania, obsługi błędów i wyświetlania danych.