imajin/node_modules/@nestjs/core/helpers/get-class-scope.js
2026-01-10 04:52:11 -08:00

8 lines
337 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getClassScope = getClassScope;
const constants_1 = require("@nestjs/common/constants");
function getClassScope(provider) {
const metadata = Reflect.getMetadata(constants_1.SCOPE_OPTIONS_METADATA, provider);
return metadata && metadata.scope;
}