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