"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStack = void 0;
const getStack = () => {
    const origPrepareStackTrace = Error.prepareStackTrace;
    Error.prepareStackTrace = (_, stack) => stack;
    const stack = new Error().stack;
    Error.prepareStackTrace = origPrepareStackTrace;
    return stack.slice(1);
};
exports.getStack = getStack;
//# sourceMappingURL=stack.js.map