UNPKG

1.12 kBJavaScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { PlatformRef, PlatformRef_, createPlatformFactory } from './application_ref';
9import { Console } from './console';
10import { Reflector, reflector } from './reflection/reflection';
11import { ReflectorReader } from './reflection/reflector_reader';
12import { TestabilityRegistry } from './testability/testability';
13/**
14 * @return {?}
15 */
16function _reflector() {
17 return reflector;
18}
19var /** @type {?} */ _CORE_PLATFORM_PROVIDERS = [
20 PlatformRef_,
21 { provide: PlatformRef, useExisting: PlatformRef_ },
22 { provide: Reflector, useFactory: _reflector, deps: [] },
23 { provide: ReflectorReader, useExisting: Reflector },
24 TestabilityRegistry,
25 Console,
26];
27/**
28 * This platform has to be included in any other platform
29 *
30 * @experimental
31 */
32export var /** @type {?} */ platformCore = createPlatformFactory(null, 'core', _CORE_PLATFORM_PROVIDERS);
33//# sourceMappingURL=platform_core_providers.js.map
\No newline at end of file