You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kilohealth/rn-fitness-tracker version you're using that has this issue:
3.1.0
Issue
Thanks for this library.
One of my commit hooks runs tsc and I consistently get error TS2366 triggering.
For now my workaround is just to disable the Typescript check, but I would like a fix.
Using //@ts-nocheck or //@ts-ignore to ignore the file with the import statements doesn't seem to work either.
I've also tried setting noImplicitReturns to false in tsconfig but that has no effect.
Environment
Click To Expand
react-native info output:
System:
OS: Windows 10 10.0.19044
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 1.04 GB / 15.85 GB
Binaries:
Node:
version: 18.18.0
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.10
path: ~\AppData\Roaming\npm\yarn.CMD
npm:
version: 9.6.6
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-223.8836.35.2231.10811636
Visual Studio: Not Found
Languages:
Java:
version: 11.0.9
path: /c/Program Files/Common Files/Oracle/Java/javapath/javac
Ruby:
version: 3.0.3
path: C:\Users\[user]\Ruby30-x64\bin\ruby.EXE
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.5
wanted: 0.72.5
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Are you using TypeScript?
Yes, 5.1.6
The text was updated successfully, but these errors were encountered:
Platform that you're experiencing the issue on:
@kilohealth/rn-fitness-tracker
version you're using that has this issue:Issue
Thanks for this library.
One of my commit hooks runs
![image](https://private-user-images.githubusercontent.com/9080974/274696076-ed2a36c0-84af-4e60-acdc-dfdfc302b17f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMjQyNDcsIm5iZiI6MTcyNDAyMzk0NywicGF0aCI6Ii85MDgwOTc0LzI3NDY5NjA3Ni1lZDJhMzZjMC04NGFmLTRlNjAtYWNkYy1kZmRmYzMwMmIxN2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MThUMjMzMjI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzgzOTJlZGRhZjYyOWFiZjg4MjI1OWEwOTdlOGIwMjNmMzdiZGRlNDdjMDc4ZmI0ZjRlYzliNzNjNzgwNjIwMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Cw2h_J0C4qrMIBhxKL7WEFGyqLOeiC2nhjScX7J2Vuo)
tsc
and I consistently get error TS2366 triggering.For now my workaround is just to disable the Typescript check, but I would like a fix.
Using
//@ts-nocheck
or//@ts-ignore
to ignore the file with the import statements doesn't seem to work either.I've also tried setting
noImplicitReturns
to false in tsconfig but that has no effect.Environment
Click To Expand
react-native info
output:TypeScript
?The text was updated successfully, but these errors were encountered: