2016-06-23 09:47:54 -07: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 11:22:23 -07:00
|
|
|
// This file contains all ambient imports needed to compile the packages/ source code
|
2016-05-20 16:06:52 -07:00
|
|
|
|
2018-06-25 11:22:23 -07:00
|
|
|
/// <reference types="hammerjs" />
|
|
|
|
/// <reference types="zone.js" />
|
2016-06-24 15:37:46 -07:00
|
|
|
/// <reference path="./es6-subset.d.ts" />
|
2017-09-26 19:41:08 -07:00
|
|
|
/// <reference path="./goog.d.ts" />
|
2017-10-24 14:54:08 +03:00
|
|
|
/// <reference path="./system.d.ts" />
|
2017-12-17 15:10:54 -08:00
|
|
|
|
2018-08-14 16:18:26 -07: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 15:10:54 -08:00
|
|
|
declare let isNode: boolean;
|
2018-04-14 11:52:53 -07:00
|
|
|
declare let isBrowser: boolean;
|
|
|
|
|
|
|
|
declare namespace jasmine {
|
2017-10-24 14:54:08 +03:00
|
|
|
interface Matchers<T> {
|
2018-04-14 11:52:53 -07:00
|
|
|
toHaveProperties(obj: any): boolean;
|
|
|
|
}
|
|
|
|
}
|
2018-03-25 12:11:49 -07: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;
|
|
|
|
}
|