global-config-rule.js 779 B

1234567891011121314151617181920
  1. "use strict";
  2. /**
  3. * Use of this source code is governed by an MIT-style license that can be
  4. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  5. */
  6. Object.defineProperty(exports, "__esModule", { value: true });
  7. exports.GlobalConfigRule = void 0;
  8. const injection_token_rule_1 = require("./injection-token-rule");
  9. class GlobalConfigRule extends injection_token_rule_1.InjectionTokenRule {
  10. constructor() {
  11. super(...arguments);
  12. this.enabled = false;
  13. this.tokens = [];
  14. }
  15. getFailure(token) {
  16. return `Found deprecated symbol "${token}" which has been removed. Please use 'NzConfigService' instead.`;
  17. }
  18. }
  19. exports.GlobalConfigRule = GlobalConfigRule;
  20. //# sourceMappingURL=global-config-rule.js.map