File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const performanceFallback: CrossPlatformPerformance = {
2828 timeOrigin : INITIAL_TIME ,
2929} ;
3030
31- export const crossPlatformPerformance : CrossPlatformPerformance = ( ( ) : CrossPlatformPerformance => {
31+ const crossPlatformPerformance : CrossPlatformPerformance = ( ( ) : CrossPlatformPerformance => {
3232 // React Native's performance.now() starts with a gigantic offset, so we need to wrap it.
3333 if ( isReactNative ( ) ) {
3434 return getReactNativePerformanceWrapper ( ) ;
@@ -74,7 +74,7 @@ export function timestampWithMs(): number {
7474/**
7575 * Determines if running in react native
7676 */
77- export function isReactNative ( ) : boolean {
77+ function isReactNative ( ) : boolean {
7878 return getGlobalObject < Window > ( ) . navigator ?. product === 'ReactNative' ;
7979}
8080
You can’t perform that action at this time.
0 commit comments