Skip to content

refactor: migrate exmaple project to [email protected]+ #1553

refactor: migrate exmaple project to [email protected]+

refactor: migrate exmaple project to [email protected]+ #1553

Triggered via pull request December 3, 2023 13:49
Status Failure
Total duration 1m 10s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build: IapExample/src/screens/ClassSetup.tsx#L37
Module '"../utils"' has no exported member 'isAndroid'.
build: IapExample/src/screens/ClassSetup.tsx#L88
Type 'import("/home/runner/work/react-native-iap/react-native-iap/node_modules/@types/react-native/index").EmitterSubscription' is not assignable to type 'import("/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/react-native/Libraries/vendor/emitter/EventEmitter").EmitterSubscription'.
build: IapExample/src/screens/ClassSetup.tsx#L108
Type 'import("/home/runner/work/react-native-iap/react-native-iap/node_modules/@types/react-native/index").EmitterSubscription' is not assignable to type 'import("/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/react-native/Libraries/vendor/emitter/EventEmitter").EmitterSubscription'.
build: IapExample/src/screens/ClassSetup.tsx#L112
Type 'import("/home/runner/work/react-native-iap/react-native-iap/node_modules/@types/react-native/index").EmitterSubscription | null' is not assignable to type 'import("/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/react-native/Libraries/vendor/emitter/EventEmitter").EmitterSubscription | null'.
build: IapExample/src/screens/Examples.tsx#L38
Argument of type '{ readonly name: "Products"; readonly label: "With success and error listeners."; readonly component: (props: unknown) => Element; readonly section: "Context"; readonly color: "#47d371"; readonly emoji: "💵"; } | { ...; } | { ...; } | { ...; } | { ...; }' is not assignable to parameter of type 'SectionData'.
build: IapExample/src/screens/Examples.tsx#L40
Type '{ readonly name: "Products"; readonly label: "With success and error listeners."; readonly component: (props: unknown) => Element; readonly section: "Context"; readonly color: "#47d371"; readonly emoji: "💵"; } | { ...; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'SectionData'.
build: IapExample/src/screens/Subscriptions.tsx#L15
Module '"../utils"' has no exported member 'isAmazon'.
build: IapExample/src/screens/Subscriptions.tsx#L16
Module '"../utils"' has no exported member 'isIos'.
build: IapExample/src/screens/Subscriptions.tsx#L17
Module '"../utils"' has no exported member 'isPlay'.
build: src/hooks/withIAPContext.tsx#L169
'IAPContext.Provider' cannot be used as a JSX component.
build: IapExample/src/screens/ClassSetup.tsx#L37
[tsc] reported by reviewdog 🐶 Module '"../utils"' has no exported member 'isAndroid'. Raw Output: IapExample/src/screens/ClassSetup.tsx(37,3): error TS2305: Module '"../utils"' has no exported member 'isAndroid'.
build: IapExample/src/screens/ClassSetup.tsx#L88
[tsc] reported by reviewdog 🐶 Type 'import("/home/runner/work/react-native-iap/react-native-iap/node_modules/@types/react-native/index").EmitterSubscription' is not assignable to type 'import("/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/react-native/Libraries/vendor/emitter/EventEmitter").EmitterSubscription'. Raw Output: IapExample/src/screens/ClassSetup.tsx(88,5): error TS2322: Type 'import("/home/runner/work/react-native-iap/react-native-iap/node_modules/@types/react-native/index").EmitterSubscription' is not assignable to type 'import("/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/react-native/Libraries/vendor/emitter/EventEmitter").EmitterSubscription'.
build: IapExample/src/screens/ClassSetup.tsx#L108
[tsc] reported by reviewdog 🐶 Type 'import("/home/runner/work/react-native-iap/react-native-iap/node_modules/@types/react-native/index").EmitterSubscription' is not assignable to type 'import("/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/react-native/Libraries/vendor/emitter/EventEmitter").EmitterSubscription'. Raw Output: IapExample/src/screens/ClassSetup.tsx(108,5): error TS2322: Type 'import("/home/runner/work/react-native-iap/react-native-iap/node_modules/@types/react-native/index").EmitterSubscription' is not assignable to type 'import("/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/react-native/Libraries/vendor/emitter/EventEmitter").EmitterSubscription'.
build: IapExample/src/screens/ClassSetup.tsx#L112
[tsc] reported by reviewdog 🐶 Type 'import("/home/runner/work/react-native-iap/react-native-iap/node_modules/@types/react-native/index").EmitterSubscription | null' is not assignable to type 'import("/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/react-native/Libraries/vendor/emitter/EventEmitter").EmitterSubscription | null'. Raw Output: IapExample/src/screens/ClassSetup.tsx(112,5): error TS2322: Type 'import("/home/runner/work/react-native-iap/react-native-iap/node_modules/@types/react-native/index").EmitterSubscription | null' is not assignable to type 'import("/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/react-native/Libraries/vendor/emitter/EventEmitter").EmitterSubscription | null'.
build: IapExample/src/screens/Examples.tsx#L38
[tsc] reported by reviewdog 🐶 Argument of type '{ readonly name: "Products"; readonly label: "With success and error listeners."; readonly component: (props: unknown) => Element; readonly section: "Context"; readonly color: "#47d371"; readonly emoji: "💵"; } | { ...; } | { ...; } | { ...; } | { ...; }' is not assignable to parameter of type 'SectionData'. Raw Output: IapExample/src/screens/Examples.tsx(38,30): error TS2345: Argument of type '{ readonly name: "Products"; readonly label: "With success and error listeners."; readonly component: (props: unknown) => Element; readonly section: "Context"; readonly color: "#47d371"; readonly emoji: "💵"; } | { ...; } | { ...; } | { ...; } | { ...; }' is not assignable to parameter of type 'SectionData'.
build: IapExample/src/screens/Examples.tsx#L40
[tsc] reported by reviewdog 🐶 Type '{ readonly name: "Products"; readonly label: "With success and error listeners."; readonly component: (props: unknown) => Element; readonly section: "Context"; readonly color: "#47d371"; readonly emoji: "💵"; } | { ...; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'SectionData'. Raw Output: IapExample/src/screens/Examples.tsx(40,46): error TS2322: Type '{ readonly name: "Products"; readonly label: "With success and error listeners."; readonly component: (props: unknown) => Element; readonly section: "Context"; readonly color: "#47d371"; readonly emoji: "💵"; } | { ...; } | { ...; } | { ...; } | { ...; }' is not assignable to type 'SectionData'.
build: IapExample/src/screens/Subscriptions.tsx#L15
[tsc] reported by reviewdog 🐶 Module '"../utils"' has no exported member 'isAmazon'. Raw Output: IapExample/src/screens/Subscriptions.tsx(15,3): error TS2305: Module '"../utils"' has no exported member 'isAmazon'.
build: IapExample/src/screens/Subscriptions.tsx#L16
[tsc] reported by reviewdog 🐶 Module '"../utils"' has no exported member 'isIos'. Raw Output: IapExample/src/screens/Subscriptions.tsx(16,3): error TS2305: Module '"../utils"' has no exported member 'isIos'.
build: IapExample/src/screens/Subscriptions.tsx#L17
[tsc] reported by reviewdog 🐶 Module '"../utils"' has no exported member 'isPlay'. Raw Output: IapExample/src/screens/Subscriptions.tsx(17,3): error TS2305: Module '"../utils"' has no exported member 'isPlay'.
build: src/hooks/withIAPContext.tsx#L169
[tsc] reported by reviewdog 🐶 'IAPContext.Provider' cannot be used as a JSX component. Raw Output: src/hooks/withIAPContext.tsx(169,8): error TS2786: 'IAPContext.Provider' cannot be used as a JSX component.