angular/packages/zone.js/lib/node/main.ts
Doug Parker 5328be6660 refactor(zone.js): formatting recently changed files (#53443)
For some reason CI started complaining about lack of formatting here.

PR Close #53443
2024-03-15 18:11:34 -07:00

24 lines
592 B
TypeScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {patchPromise} from '../common/promise';
import {patchToString} from '../common/to-string';
import {loadZone} from '../zone';
import {ZoneType} from '../zone-impl';
import {patchNode} from './node';
export function rollupMain(): ZoneType {
const Zone = loadZone();
patchNode(Zone); // Node needs to come first.
patchPromise(Zone);
patchToString(Zone);
return Zone;
}