mirror of
https://github.com/react/react.git
synced 2026-09-29 05:33:03 +08:00
## Summary Mostly changing the casting syntax from `(x: Y)` to `x as Y`, as the old syntax was deprecated and always causing an error in Flow ## How did you test this change? `yarn flow-ci`
13 lines
363 B
JavaScript
13 lines
363 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
*/
|
|
|
|
// This is forked in server builds where the default stack frame may be source mapped.
|
|
|
|
export default undefined as any as (Error, Array<CallSite>) => string;
|