9 lines
352 B
TypeScript
9 lines
352 B
TypeScript
|
|
/**
|
||
|
|
* Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js
|
||
|
|
*
|
||
|
|
* Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes
|
||
|
|
* during build.
|
||
|
|
* @param {number} code
|
||
|
|
*/
|
||
|
|
export declare function formatProdErrorMessage(code: number): string;
|