File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { NativeModules , Platform } from 'react-native' ;
2
2
3
- console . log ( 'NativeModules' , NativeModules ) ;
4
-
5
3
export interface InternalNumber { }
6
4
7
5
export interface InternalRedNumber extends InternalNumber {
@@ -176,6 +174,7 @@ declare global {
176
174
if ( global . __BigNumberProxy == null ) {
177
175
// Get the native BigNumber ReactModule
178
176
const BigNumberModule = NativeModules . BigNumber ;
177
+ console . log ( 'BigNumberModule' , BigNumberModule ) ;
179
178
if ( BigNumberModule == null ) {
180
179
let message =
181
180
'Failed to install react-native-bignumber: The native `BigNumber` Module could not be found.' ;
@@ -233,5 +232,4 @@ const native = {} as any;
233
232
Object . keys ( proxy ) . forEach ( ( key : string ) => {
234
233
native [ key ] = proxy [ key ] ;
235
234
} ) ;
236
- console . log ( 'native' , native ) ;
237
235
export const NativeBigNumber = native as NativeBigNumberSpec ;
Original file line number Diff line number Diff line change 1
1
export * from './BigNumber' ;
2
2
3
3
import BN from './BigNumber' ;
4
+ export default BN ;
4
5
module . exports = BN ;
You can’t perform that action at this time.
0 commit comments