UNPKG

427 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.InitializeOnPreviewAllowlist = void 0;
4class InitializeOnPreviewAllowlist {
5 static add(type) {
6 this.allowlist.set(type, true);
7 }
8 static has(type) {
9 return this.allowlist.has(type);
10 }
11}
12exports.InitializeOnPreviewAllowlist = InitializeOnPreviewAllowlist;
13InitializeOnPreviewAllowlist.allowlist = new WeakMap();