UNPKG

@nestjs/core

Version:

The core of NestJS, a TypeScript framework for Node.js backends: modules, dependency injection and the request pipeline, on Express, Fastify or node:http.

10 lines (9 loc) • 223 B
export class InitializeOnPreviewAllowlist { static allowlist = new WeakMap(); static add(type) { this.allowlist.set(type, true); } static has(type) { return this.allowlist.has(type); } }