Develop #381
react-native-cicd.yml
on: pull_request
Annotations
5 errors and 4 warnings
|
test
Process completed with exit code 2.
|
|
test:
src/stores/app/livekit-store.ts#L229
Property 'MICROPHONE' does not exist on type 'typeof AndroidForegroundServiceType'.
|
|
test:
src/services/push-notification.electron.ts#L56
Type 'void' is not assignable to type '(() => void) | null'.
|
|
test:
src/services/push-notification.electron.ts#L12
Subsequent property declarations must have the same type. Property 'electronAPI' must be of type '{ showNotification: (options: { title: string; body: string; data: any; }) => Promise<boolean>; onNotificationClicked: (callback: (data: any) => void) => void; platform: string; isElectron: boolean; } | undefined', but here has type '{ showNotification: (options: { title: string; body: string; data: any; }) => Promise<boolean>; onNotificationClicked: (callback: (data: any) => void) => () => void; platform: string; isElectron: boolean; } | undefined'.
|
|
test:
src/components/maps/map-view.web.tsx#L9
Could not find a declaration file for module 'react-dom'. '/home/runner/work/Unit/Unit/node_modules/react-dom/index.js' implicitly has an 'any' type.
|
|
test:
src/lib/platform.ts#L12
Replace `⏎··typeof·window·!==·'undefined'·&&·⏎·` with `typeof·window·!==·'undefined'·&&`
|
|
test:
src/components/maps/map-view.web.tsx#L307
ReactDOM.unmountComponentAtNode is deprecated since React 18.0.0, use root.unmount instead, see https://reactjs.org/link/switch-to-createroot
|
|
test:
src/components/maps/map-view.web.tsx#L275
Replace `⏎······.setLngLat(coordinate)⏎······` with `.setLngLat(coordinate)`
|
|
test:
src/components/maps/map-view.web.tsx#L262
ReactDOM.render is deprecated since React 18.0.0, use createRoot instead, see https://reactjs.org/link/switch-to-createroot
|