Closed yyf401238353 closed 4 years ago
declare module "react" {
namespace JSX {
interface IntrinsicElements {
'ion-phaser': any;
}
}
}
oh ok, we need to replace that by using global instead:
declare global {
namespace JSX {
interface IntrinsicElements {
'ion-phaser': any;
}
}
}
Fixed, check the last version 1.2.1! 👍
It seems like your code in @ion-phaser/react/dist/types/components/IonPhaser.d.ts overwrites the JSX in @type/react.