You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
488 B

4 years ago
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.clear = clear;
  6. exports.clearPath = clearPath;
  7. exports.clearScope = clearScope;
  8. exports.scope = exports.path = void 0;
  9. let path = new WeakMap();
  10. exports.path = path;
  11. let scope = new WeakMap();
  12. exports.scope = scope;
  13. function clear() {
  14. clearPath();
  15. clearScope();
  16. }
  17. function clearPath() {
  18. exports.path = path = new WeakMap();
  19. }
  20. function clearScope() {
  21. exports.scope = scope = new WeakMap();
  22. }