Bläddra i källkod

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 år sedan
förälder
incheckning
760e6cf1ac
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6
    0
      lib/src/index.ts

+ 6
- 0
lib/src/index.ts Visa fil

@@ -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';