Skip to content

Commit cb3f106

Browse files
committed
chore: stop importing symbols from zone-types.d.ts
1 parent c07ec04 commit cb3f106

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/cdk/testing/testbed/task-state-zone-interceptor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import {BehaviorSubject, Observable} from 'rxjs';
1010
import {ProxyZone, ProxyZoneStatic} from './proxy-zone-types';
11-
import {HasTaskState, Zone, ZoneDelegate} from './zone-types';
1211

1312
/** Current state of the intercepted zone. */
1413
export interface TaskState {

src/cdk/testing/testbed/zone-types.d.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@
1414
* here and use these for our interceptor logic.
1515
*/
1616

17-
declare global {
18-
// tslint:disable-next-line:variable-name
19-
const Zone: {current: any}|undefined;
17+
declare interface Zone {
18+
current: any;
2019
}
21-
22-
export type Zone = Object;
23-
export type ZoneDelegate = Object;
24-
export type HasTaskState = {microTask: boolean, macroTask: boolean};
20+
declare const Zone: Zone | undefined;
21+
declare type ZoneDelegate = Object;
22+
declare type HasTaskState = {microTask: boolean, macroTask: boolean};

0 commit comments

Comments
 (0)