UNPKG

369 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.getClassScope = void 0;
4const constants_1 = require("@nestjs/common/constants");
5function getClassScope(provider) {
6 const metadata = Reflect.getMetadata(constants_1.SCOPE_OPTIONS_METADATA, provider);
7 return metadata && metadata.scope;
8}
9exports.getClassScope = getClassScope;