2024-08-20 23:25:37 +04:00

8 lines
262 B
JavaScript

/** @deprecated Use `warning` instead. This will be removed in next major version */
export default function warn(msg) {
if (process.env.NODE_ENV !== 'production') {
if (typeof console !== 'undefined' && console.warn) {
console.warn(msg);
}
}
}