bug: TS2320: Interface 'HTMLIonInputElement' cannot simultaneously extend types 'IonInput' and 'HTMLStencilElement'
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 52/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Pouca atividade
- Stack de tecnologia
- angular, typescript
- Domínio
- frontend
Direção de pesquisa
Comece reproduzindo o problema com Angular 20.2.0, TypeScript 5.9.2 e npx ng serve. Inspecione as declarações próximas às linhas 4326 e 4888 em node_modules/@ionic/core/dist/types/components.d.ts, onde ocorrem os conflitos de interface relatados. Considera-se concluído quando o projeto compila e é servido sem os erros TS2320.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
since angular 20.2.0 released recently and typescript v5.9 is being supported
I upgraded dependencies of my project and the message pop up when serving the project
X [ERROR] TS2320: Interface 'HTMLIonInputElement' cannot simultaneously extend types 'IonInput' and 'HTMLStencilElement'.
Named property 'autocorrect' of types 'IonInput' and 'HTMLStencilElement' are not identical. [plugin angular-compiler]
node_modules/@ionic/core/dist/types/components.d.ts:4326:14:
4326 │ interface HTMLIonInputElement extends Components.IonInput, H...
X [ERROR] TS2320: Interface 'HTMLIonSearchbarElement' cannot simultaneously extend types 'IonSearchbar' and 'HTMLStencilElement'.
Named property 'autocorrect' of types 'IonSearchbar' and 'HTMLStencilElement' are not identical. [plugin angular-compiler]
node_modules/@ionic/core/dist/types/components.d.ts:4888:14:
4888 │ interface HTMLIonSearchbarElement extends Components.IonSear...
and my project went well with [email protected].* and [email protected].*
Expected Behavior
Success to build and serve
Steps to Reproduce
- update deps with [email protected] and [email protected]
- try to serve with
npx ng serve
Ionic Info
Ionic:
Ionic CLI : 7.2.1 (C:\Users\USER\AppData\Local\npm-cache_npx\f6fddb685269761d\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 8.7.2
@angular-devkit/build-angular : not installed
@angular-devkit/schematics : 20.2.0
@angular/cli : 20.2.0
@ionic/angular-toolkit : not installed
Capacitor:
Capacitor CLI : 7.4.2
@capacitor/android : 7.4.2
@capacitor/core : 7.4.2
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v24.6.0 (C:\Program Files\nodejs\node.exe)
npm : 11.5.2
OS : Windows 10
Sorry for my poor English 😆
- Linguagem predominante
- TypeScript
- Estrelas
- 52.8k
- Forks
- 13.3k
- Merge médio
- 3d 1h
- PRs com merge (30d)
- 86
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de ionic-team/ionic-framework
-
bug: input-otp, backspace in an empty box only moves focus instead of clearing the previous boxTalvez já em andamento @sarankumar1325 assumiu há 23 dias. Abertapackage: core type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
ionic-team/ionic-framework#31639 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug: vue swipe cancellation throws when the previous page is missingTalvez já em andamento @dandoingdev assumiu há 46 dias. Abertapackage: vue type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
ionic-team/ionic-framework#31514 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug: ion-searchbar input is always labelled "search text"; aria-label on the host is not forwardedTalvez já em andamento @HappyKnuckles assumiu há 41 dias. Abertaa11y package: core type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
ionic-team/ionic-framework#31492 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug: IonTabs throws when a Fragment contains one IonRouterOutletTalvez já em andamento @Benziza assumiu há 82 dias. Abertapackage: react type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
ionic-team/ionic-framework#31410 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
bug: angular swipe-back gesture crashes in StackController.startBackTransition when the stack is popped before the gesture is capturedTalvez já em andamento @officialasishkumar assumiu há 9 dias. Abertapackage: angular type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
ionic-team/ionic-framework#31291 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de ionic-team/ionic-framework
Issues semelhantes
-
area-templates triage:bot-seen triage:needs-human
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
microsoft/aspire#22356 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Archiving an agent that is not loaded keeps its old updatedAtTalvez já em andamento @luoph assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
content triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
contributor: external needs review severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
expo/expo#53642 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
JSPrismarine/JSPrismarine#3214 ·
Mantenedores costumam responder em até 1 dia