blob: 3cfb7b23324543208c4b7b78199ae3066c186b12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const alreadyWarned = new Set();
exports.default = (message) => {
if (alreadyWarned.has(message)) {
return;
}
alreadyWarned.add(message);
// @ts-expect-error Missing types.
process.emitWarning(`Got: ${message}`, {
type: 'DeprecationWarning'
});
};
|