2018-10-24 19:02:25 -04:00
|
|
|
/**
|
|
|
|
* @license
|
2020-05-19 15:08:49 -04:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2018-10-24 19:02:25 -04:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2019-01-11 19:07:01 -05:00
|
|
|
import * as core from '../../core/src/compiler/compiler_facade_interface';
|
2019-10-03 15:54:49 -04:00
|
|
|
import {R3FactoryTarget, R3ResolvedDependencyType} from '../public_api';
|
2018-10-24 19:02:25 -04:00
|
|
|
import * as compiler from '../src/compiler_facade_interface';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This file is compiler level file which asserts that the set of interfaces in `@angular/core` and
|
|
|
|
* `@angular/compiler` match. (Build time failure.)
|
|
|
|
*
|
|
|
|
* If this file fails to compile it means these two files when out of sync:
|
|
|
|
* - packages/compiler/src/compiler_facade_interface.ts (master)
|
|
|
|
* - packages/core/src/render3/jit/compiler_facade_interface.ts (copy)
|
|
|
|
*
|
|
|
|
* Please ensure that the two files are in sync using this command:
|
|
|
|
* ```
|
|
|
|
* cp packages/compiler/src/compiler_facade_interface.ts \
|
|
|
|
* packages/core/src/render3/jit/compiler_facade_interface.ts
|
|
|
|
* ```
|
|
|
|
*/
|
|
|
|
|
|
|
|
const coreExportedCompilerFacade1: core.ExportedCompilerFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as compiler.ExportedCompilerFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerExportedCompilerFacade2: compiler.ExportedCompilerFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.ExportedCompilerFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
2020-04-08 13:14:18 -04:00
|
|
|
const coreCompilerFacade: core.CompilerFacade = null! as compiler.CompilerFacade;
|
|
|
|
const compilerCompilerFacade: compiler.CompilerFacade = null! as core.CompilerFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
2020-04-08 13:14:18 -04:00
|
|
|
const coreCoreEnvironment: core.CoreEnvironment = null! as compiler.CoreEnvironment;
|
|
|
|
const compilerCoreEnvironment: compiler.CoreEnvironment = null! as core.CoreEnvironment;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
2020-04-08 13:14:18 -04:00
|
|
|
const coreResourceLoader: core.ResourceLoader = null! as compiler.ResourceLoader;
|
|
|
|
const compilerResourceLoader: compiler.ResourceLoader = null! as core.ResourceLoader;
|
2019-03-03 12:19:27 -05:00
|
|
|
|
2020-04-08 13:14:18 -04:00
|
|
|
const coreStringMap: core.StringMap = null! as compiler.StringMap;
|
|
|
|
const compilerStringMap: compiler.StringMap = null! as core.StringMap;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
2020-04-08 13:14:18 -04:00
|
|
|
const coreProvider: core.Provider = null! as compiler.Provider;
|
|
|
|
const compilerProvider: compiler.Provider = null! as core.Provider;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
|
|
|
const coreR3ResolvedDependencyType: core.R3ResolvedDependencyType =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as compiler.R3ResolvedDependencyType;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3ResolvedDependencyType: compiler.R3ResolvedDependencyType =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3ResolvedDependencyType;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
|
|
|
const coreR3ResolvedDependencyType2: R3ResolvedDependencyType =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3ResolvedDependencyType;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3ResolvedDependencyType2: R3ResolvedDependencyType =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3ResolvedDependencyType;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
|
|
|
const coreR3ResolvedDependencyType3: core.R3ResolvedDependencyType =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as R3ResolvedDependencyType;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3ResolvedDependencyType3: compiler.R3ResolvedDependencyType =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as R3ResolvedDependencyType;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
2020-04-08 13:14:18 -04:00
|
|
|
const coreR3FactoryTarget: core.R3FactoryTarget = null! as compiler.R3FactoryTarget;
|
|
|
|
const compilerR3FactoryTarget: compiler.R3FactoryTarget = null! as core.R3FactoryTarget;
|
2019-10-03 15:54:49 -04:00
|
|
|
|
2020-04-08 13:14:18 -04:00
|
|
|
const coreR3FactoryTarget2: R3FactoryTarget = null! as core.R3FactoryTarget;
|
|
|
|
const compilerR3FactoryTarget2: R3FactoryTarget = null! as core.R3FactoryTarget;
|
2019-10-03 15:54:49 -04:00
|
|
|
|
2020-04-08 13:14:18 -04:00
|
|
|
const coreR3FactoryTarget3: core.R3FactoryTarget = null! as R3FactoryTarget;
|
|
|
|
const compilerR3FactoryTarget3: compiler.R3FactoryTarget = null! as R3FactoryTarget;
|
2019-10-03 15:54:49 -04:00
|
|
|
|
2018-10-24 19:02:25 -04:00
|
|
|
const coreR3DependencyMetadataFacade: core.R3DependencyMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as compiler.R3DependencyMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3DependencyMetadataFacade: compiler.R3DependencyMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3DependencyMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
2020-04-08 13:14:18 -04:00
|
|
|
const coreR3PipeMetadataFacade: core.R3PipeMetadataFacade = null! as compiler.R3PipeMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3PipeMetadataFacade: compiler.R3PipeMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3PipeMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
|
|
|
const coreR3InjectableMetadataFacade: core.R3InjectableMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as compiler.R3InjectableMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3InjectableMetadataFacade: compiler.R3InjectableMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3InjectableMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
|
|
|
const coreR3NgModuleMetadataFacade: core.R3NgModuleMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as compiler.R3NgModuleMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3NgModuleMetadataFacade: compiler.R3NgModuleMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3NgModuleMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
|
|
|
const coreR3InjectorMetadataFacade: core.R3InjectorMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as compiler.R3InjectorMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3InjectorMetadataFacade: compiler.R3InjectorMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3InjectorMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
|
|
|
const coreR3DirectiveMetadataFacade: core.R3DirectiveMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as compiler.R3DirectiveMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3DirectiveMetadataFacade: compiler.R3DirectiveMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3DirectiveMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
|
|
|
const coreR3ComponentMetadataFacade: core.R3ComponentMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as compiler.R3ComponentMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3ComponentMetadataFacade: compiler.R3ComponentMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3ComponentMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
2020-04-08 13:14:18 -04:00
|
|
|
const coreViewEncapsulation: core.ViewEncapsulation = null! as compiler.ViewEncapsulation;
|
|
|
|
const compilerViewEncapsulation: compiler.ViewEncapsulation = null! as core.ViewEncapsulation;
|
2018-10-24 19:02:25 -04:00
|
|
|
|
|
|
|
const coreR3QueryMetadataFacade: core.R3QueryMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as compiler.R3QueryMetadataFacade;
|
2018-10-24 19:02:25 -04:00
|
|
|
const compilerR3QueryMetadataFacade: compiler.R3QueryMetadataFacade =
|
2020-04-08 13:14:18 -04:00
|
|
|
null! as core.R3QueryMetadataFacade;
|