2016-06-23 12:47:54 -04:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. 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
|
|
|
|
*/
|
|
|
|
|
2018-06-25 14:22:23 -04:00
|
|
|
// This file contains all ambient imports needed to compile the packages/ source code
|
2016-05-20 19:06:52 -04:00
|
|
|
|
2018-06-25 14:22:23 -04:00
|
|
|
/// <reference types="hammerjs" />
|
|
|
|
/// <reference types="zone.js" />
|
2019-01-14 13:11:36 -05:00
|
|
|
/// <reference lib="es2015" />
|
2017-09-26 22:41:08 -04:00
|
|
|
/// <reference path="./goog.d.ts" />
|
2017-10-24 07:54:08 -04:00
|
|
|
/// <reference path="./system.d.ts" />
|
2017-12-17 18:10:54 -05:00
|
|
|
|
2018-08-14 19:18:26 -04:00
|
|
|
// Do not included "node" and "jasmine" types here as we don't
|
|
|
|
// want these ambient types to be included everywhere.
|
|
|
|
// Tests will bring in ambient node & jasmine types with
|
|
|
|
// /packages/tsconfig-test.json when `testonly = True` is set
|
|
|
|
// and packages such as platform-server that need these types should
|
|
|
|
// use `/// <reference types="x">` in their main entry points
|
|
|
|
|
2017-12-17 18:10:54 -05:00
|
|
|
declare let isNode: boolean;
|
2018-04-14 14:52:53 -04:00
|
|
|
declare let isBrowser: boolean;
|
|
|
|
|
|
|
|
declare namespace jasmine {
|
2017-10-24 07:54:08 -04:00
|
|
|
interface Matchers<T> {
|
2018-04-14 14:52:53 -04:00
|
|
|
toHaveProperties(obj: any): boolean;
|
|
|
|
}
|
|
|
|
}
|
2018-03-25 15:11:49 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
*Jasmine matching utilities. These are added in the a more recent version of
|
|
|
|
*the Jasmine typedefs than what we are using:
|
|
|
|
*https://github.com/DefinitelyTyped/DefinitelyTyped/pull/20771
|
|
|
|
*/
|
|
|
|
declare namespace jasmine {
|
|
|
|
const matchersUtil: MatchersUtil;
|
|
|
|
}
|