From 8135727f5a086554da11bddb90bef7614590bc2c Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Fri, 9 Aug 2019 10:32:36 -0700 Subject: [PATCH] Migrate crashReporterUtility Summary: _typescript_ Reviewed By: jknoxville Differential Revision: D16709553 fbshipit-source-id: 90d7d9bda703e650b5922f5c609bb884feaebf40 --- src/index.js | 2 +- src/utils/__tests__/crashReporterUtility.node.js | 2 +- src/utils/{crashReporterUtility.js => crashReporterUtility.tsx} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/utils/{crashReporterUtility.js => crashReporterUtility.tsx} (89%) diff --git a/src/index.js b/src/index.js index 56e86a563..2934a5d37 100644 --- a/src/index.js +++ b/src/index.js @@ -36,7 +36,7 @@ export { DeviceLogEntry, LogLevel, } from './devices/BaseDevice.tsx'; -export {shouldParseAndroidLog} from './utils/crashReporterUtility.js'; +export {shouldParseAndroidLog} from './utils/crashReporterUtility.tsx'; export {default as isProduction} from './utils/isProduction.js'; export {createTablePlugin} from './createTablePlugin.js'; export {default as DetailSidebar} from './chrome/DetailSidebar.js'; diff --git a/src/utils/__tests__/crashReporterUtility.node.js b/src/utils/__tests__/crashReporterUtility.node.js index 1ae68b43f..e1fe1d64a 100644 --- a/src/utils/__tests__/crashReporterUtility.node.js +++ b/src/utils/__tests__/crashReporterUtility.node.js @@ -4,7 +4,7 @@ * LICENSE file in the root directory of this source tree. * @format */ -import {shouldParseAndroidLog} from '../crashReporterUtility.js'; +import {shouldParseAndroidLog} from '../crashReporterUtility.tsx'; import type {DeviceLogEntry, LogLevel} from 'flipper'; function getAndroidLog( diff --git a/src/utils/crashReporterUtility.js b/src/utils/crashReporterUtility.tsx similarity index 89% rename from src/utils/crashReporterUtility.js rename to src/utils/crashReporterUtility.tsx index 391449815..bd00960d4 100644 --- a/src/utils/crashReporterUtility.js +++ b/src/utils/crashReporterUtility.tsx @@ -5,7 +5,7 @@ * @format * @flow */ -import type {DeviceLogEntry} from '../devices/BaseDevice.tsx'; +import {DeviceLogEntry} from '../devices/BaseDevice'; export function shouldParseAndroidLog( entry: DeviceLogEntry,