Created
May 31, 2019 01:20
-
-
Save ericlewis/12e96c42ab27faad6e6b47b40b0fb8bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
* | |
* @flow | |
* @format | |
*/ | |
'use strict'; | |
import type {TurboModule} from 'RCTExport'; | |
import * as TurboModuleRegistry from 'TurboModuleRegistry'; | |
export interface Spec extends TurboModule { | |
// types go here | |
} | |
export default TurboModuleRegistry.getEnforcing<Spec>('EXISTING_MODULE_NAME_HERE'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment