Skip to content

use export default#107

Merged
crazycodeboy merged 1 commit intocrazycodeboy:masterfrom
evollu:patch-3
Oct 16, 2017
Merged

use export default#107
crazycodeboy merged 1 commit intocrazycodeboy:masterfrom
evollu:patch-3

Conversation

@evollu
Copy link
Contributor

@evollu evollu commented Oct 11, 2017

module.exports doesn't work with typescript with import SplashScreen from 'react-native-splash-screen'
export default works and it also matches type definition

fixes #100

@crazycodeboy crazycodeboy merged commit 6937695 into crazycodeboy:master Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

undefined is not an object (evaluating '_reactNativeSplashScreen2.default.hide')

2 participants

Comments