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
@citizen/client type is not usable without adding "skipLibCheck": true
This error happen at compilation :
node_modules/@citizenfx/client/index.d.ts:136:10 - error TS1337: An index signature parameter type cannot be a union type. Consider using a mapped object type instead.
136 [exportKey: string | number]: Function
which type should be declared here ?
Expected result
No error
Reproduction steps
include @citizen/client type in node/typescript project
Importancy
There's a workaround
Area(s)
ScRT: JS
Specific version(s)
FiveM/RedM
Additional information
No response
The text was updated successfully, but these errors were encountered:
What happened?
@citizen/client type is not usable without adding "skipLibCheck": true
This error happen at compilation :
which type should be declared here ?
Expected result
No error
Reproduction steps
include @citizen/client type in node/typescript project
Importancy
There's a workaround
Area(s)
ScRT: JS
Specific version(s)
FiveM/RedM
Additional information
No response
The text was updated successfully, but these errors were encountered: