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
Super minor miss on the typescript definitions, PR for the fix is here: #373
Reproduced on:
VSCode
WebStorm
Description
CONSTANTS isn't in index.d.ts, so your linter underlines it in red if you're using typescript. Unless you're colorblind, in which case, all you know is that it's underlined. Might be green. You don't know. You're colorblind.
eslint/tsc/ts-node will complain about the types not being there
$ ts-node
> import {CONSTANTS} from 'react-native-callkeep';
[eval].ts:3:9 - error TS2614: Module '"react-native-callkeep"' has no exported member 'CONSTANTS'. Did you mean to use 'import CONSTANTS from "react-native-callkeep"' instead?
3 import {CONSTANTS} from 'react-native-callkeep';
~~~~~~~~~
undefined
> console.log('boo')
boo
undefined
>
Versions
- Callkeep: 4.0.1
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Super minor miss on the typescript definitions, PR for the fix is here:
#373
Description
CONSTANTS isn't in index.d.ts, so your linter underlines it in red if you're using typescript. Unless you're colorblind, in which case, all you know is that it's underlined. Might be green. You don't know. You're colorblind.
Steps to Reproduce
To recreate the issue, in any typescript file:
eslint/tsc/ts-node will complain about the types not being there
Versions
The text was updated successfully, but these errors were encountered: