diff --git a/Libraries/Core/Devtools/parseErrorStack.js b/Libraries/Core/Devtools/parseErrorStack.js index 573fbd1449d..bd2ef9a9d85 100644 --- a/Libraries/Core/Devtools/parseErrorStack.js +++ b/Libraries/Core/Devtools/parseErrorStack.js @@ -12,9 +12,10 @@ 'use strict'; export type StackFrame = { + column: ?number, file: string, lineNumber: number, - column: number, + methodName: string, }; var stacktraceParser = require('stacktrace-parser'); diff --git a/Libraries/Core/Timers/JSTimers.js b/Libraries/Core/Timers/JSTimers.js index c89a6695b2a..842b47ba545 100644 --- a/Libraries/Core/Timers/JSTimers.js +++ b/Libraries/Core/Timers/JSTimers.js @@ -40,8 +40,6 @@ function _allocateCallback(func: Function, type: JSTimerType): number { e.framesToPop = 1; const stack = parseErrorStack(e); if (stack) { - /* $FlowFixMe(>=0.32.0) - this seems to be putting something of the wrong - * type into identifiers */ JSTimersExecution.identifiers[freeIndex] = stack.shift(); } }