refactor: remove EventEmitter from facade (#14837)
As of right now each module has its own copy of the EventEmitter contributing to bloat.
This commit is contained in:

committed by
Chuck Jazdzewski

parent
728fe472f8
commit
928c5657c8
@ -6,15 +6,16 @@
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
import {EventEmitter} from '@angular/core';
|
||||
import {Injectable} from '@angular/core/src/di';
|
||||
import {Testability} from '@angular/core/src/testability/testability';
|
||||
import {NgZone} from '@angular/core/src/zone/ng_zone';
|
||||
import {AsyncTestCompleter, SpyObject, beforeEach, describe, expect, inject, it} from '@angular/core/testing/testing_internal';
|
||||
|
||||
import {EventEmitter} from '../../src/facade/async';
|
||||
import {scheduleMicroTask} from '../../src/facade/lang';
|
||||
|
||||
|
||||
|
||||
// Schedules a microtasks (using a resolved promise .then())
|
||||
function microTask(fn: Function): void {
|
||||
scheduleMicroTask(() => {
|
||||
|
Reference in New Issue
Block a user