Giter Site home page Giter Site logo

Comments (10)

FranciscoKloganB avatar FranciscoKloganB commented on April 27, 2024 2

Same issue here. I am working around with a ts-expect-error annotation, but not desirable.

from ionic-framework.

mib122 avatar mib122 commented on April 27, 2024 1

Same issue for me

from ionic-framework.

liamdebeasi avatar liamdebeasi commented on April 27, 2024

Thanks for the issue! This issue is being closed due to the lack of a code reproduction. As noted in the issue template, we need a runnable sample to verify this report. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Thank you for using Ionic!

from ionic-framework.

kenfinnigan avatar kenfinnigan commented on April 27, 2024

I hit this same issue today.

To reproduce, create a new project with ionic start. Don't use the creation wizard. Select React framework and tabs template.

App.jsx fails TS checks on <IonRouterOutlet> because of the missing properties of onPointerEnterCapture and onPointerLeaveCapture

from ionic-framework.

nathanvick480 avatar nathanvick480 commented on April 27, 2024

Same issue here.

from ionic-framework.

paishin avatar paishin commented on April 27, 2024

Also having the same issue with a new project using ionic + react. In my case I did use the creation wizard.

from ionic-framework.

liuwin7 avatar liuwin7 commented on April 27, 2024

The @types/[email protected] had removed the properties onPointerEnterCapture and onPointerLeaveCapture. DefinitelyTyped/DefinitelyTyped#68984
This changes can affect the IonRouterOutlet's type definition.

{
...
- onPointerEnterCapture?: PointerEventHandler<T> | undefined;
- onPointerLeaveCapture?: PointerEventHandler<T> | undefined;
+ onPointerEnterCapture: unknown
+ onPointerLeaveCapture: unknown
}

from ionic-framework.

liuwin7 avatar liuwin7 commented on April 27, 2024

You can specify the @types/[email protected] and wait for the Ionic team to fix this breaking change.

from ionic-framework.

DunhamGitHub avatar DunhamGitHub commented on April 27, 2024

Same issue here

from ionic-framework.

liamdebeasi avatar liamdebeasi commented on April 27, 2024

Hi everyone,

We are tracking this in #29178. Unfortunately, Definitely Typed made a breaking change to the types that caused breakages in developer applications (it was classified as a bug fix, but it is causing some apps to no longer compile). We are working with the Stencil team to mitigate this.

from ionic-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.