Browse Source

Export interfaces

This commit exports interfaces used by RNN so they can be used to improve type checking. closes #4177

Usage

import {Options} from 'react-native-navigation';
const options: Options = {}
Guy Carmeli 6 years ago
parent
commit
760e6cf1ac
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      lib/src/index.ts

+ 6
- 0
lib/src/index.ts View File

@@ -3,3 +3,9 @@ import { Navigation as NavigationClass } from './Navigation';
3 3
 const singleton = new NavigationClass();
4 4
 
5 5
 export const Navigation = singleton;
6
+export * from './adapters/Constants';
7
+export * from './interfaces/ComponentEvents';
8
+export * from './interfaces/Events';
9
+export * from './interfaces/EventSubscription';
10
+export * from './interfaces/Layout';
11
+export * from './interfaces/Options';