Initial commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+13
@@ -0,0 +1,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'
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user