8 lines
262 B
JavaScript
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);
|
|
}
|
|
}
|
|
} |