node_util.ts 613 B

1234567891011121314151617
  1. /**
  2. * @license
  3. * Copyright Google Inc. All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.io/license
  7. */
  8. import {bindArguments, patchMacroTask, patchMethod, patchOnProperties, setShouldCopySymbolProperties} from '../common/utils';
  9. Zone.__load_patch('node_util', (global: any, Zone: ZoneType, api: _ZonePrivate) => {
  10. api.patchOnProperties = patchOnProperties;
  11. api.patchMethod = patchMethod;
  12. api.bindArguments = bindArguments;
  13. api.patchMacroTask = patchMacroTask;
  14. setShouldCopySymbolProperties(true);
  15. });