refactor: migrate exmaple project to [email protected]+ #1551
Annotations
10 errors and 10 warnings
build:
IapExample/__tests__/App.test.tsx#L7
Cannot find module '../App' or its corresponding type declarations.
|
build:
IapExample/src/components/Row.tsx#L3
Could not find a declaration file for module 'lodash/camelCase'. '/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/lodash/camelCase.js' implicitly has an 'any' type.
|
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#L13
Could not find a declaration file for module 'lodash/lowerCase'. '/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/lodash/lowerCase.js' implicitly has an 'any' type.
|
build:
IapExample/src/screens/Examples.tsx#L14
Could not find a declaration file for module 'lodash/upperFirst'. '/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/lodash/upperFirst.js' implicitly has an 'any' type.
|
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/components/Row.tsx#L3
[tsc] reported by reviewdog 🐶
Could not find a declaration file for module 'lodash/camelCase'. '/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/lodash/camelCase.js' implicitly has an 'any' type.
Raw Output:
IapExample/src/components/Row.tsx(3,23): error TS7016: Could not find a declaration file for module 'lodash/camelCase'. '/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/lodash/camelCase.js' implicitly has an 'any' type.
|
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#L13
[tsc] reported by reviewdog 🐶
Could not find a declaration file for module 'lodash/lowerCase'. '/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/lodash/lowerCase.js' implicitly has an 'any' type.
Raw Output:
IapExample/src/screens/Examples.tsx(13,23): error TS7016: Could not find a declaration file for module 'lodash/lowerCase'. '/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/lodash/lowerCase.js' implicitly has an 'any' type.
|
build:
IapExample/src/screens/Examples.tsx#L14
[tsc] reported by reviewdog 🐶
Could not find a declaration file for module 'lodash/upperFirst'. '/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/lodash/upperFirst.js' implicitly has an 'any' type.
Raw Output:
IapExample/src/screens/Examples.tsx(14,24): error TS7016: Could not find a declaration file for module 'lodash/upperFirst'. '/home/runner/work/react-native-iap/react-native-iap/IapExample/node_modules/lodash/upperFirst.js' implicitly has an 'any' type.
|
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'.
|