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';
|
2021-03-25 17:25:03 -04:00
|
|
|
import {FactoryTarget} 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
|
|
|
|
2021-03-25 17:25:03 -04:00
|
|
|
const coreR3FactoryTarget: core.FactoryTarget = null! as compiler.FactoryTarget;
|
|
|
|
const compilerR3FactoryTarget: compiler.FactoryTarget = null! as core.FactoryTarget;
|
2019-10-03 15:54:49 -04:00
|
|
|
|
2021-03-25 17:25:03 -04:00
|
|
|
const coreR3FactoryTarget2: FactoryTarget = null! as core.FactoryTarget;
|
|
|
|
const compilerR3FactoryTarget2: FactoryTarget = null! as core.FactoryTarget;
|
2019-10-03 15:54:49 -04:00
|
|
|
|
2021-03-25 17:25:03 -04:00
|
|
|
const coreR3FactoryTarget3: core.FactoryTarget = null! as FactoryTarget;
|
|
|
|
const compilerR3FactoryTarget3: compiler.FactoryTarget = null! as FactoryTarget;
|
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
|
|
|
|
2021-03-14 17:03:59 -04:00
|
|
|
const coreR3DeclareDependencyMetadataFacade: core.R3DeclareDependencyMetadataFacade =
|
|
|
|
null! as compiler.R3DeclareDependencyMetadataFacade;
|
|
|
|
const compilerR3DeclareDependencyMetadataFacade: compiler.R3DeclareDependencyMetadataFacade =
|
|
|
|
null! as core.R3DeclareDependencyMetadataFacade;
|
|
|
|
|
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
|
|
|
|
2021-03-14 17:03:59 -04:00
|
|
|
const coreR3DeclarePipeFacade: core.R3DeclarePipeFacade = null! as compiler.R3DeclarePipeFacade;
|
|
|
|
const compilerR3DeclarePipeFacade: compiler.R3DeclarePipeFacade = null! as core.R3DeclarePipeFacade;
|
|
|
|
|
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
|
|
|
|
2021-03-21 13:31:20 -04:00
|
|
|
const coreR3DeclareInjectableFacade: core.R3DeclareInjectableFacade =
|
|
|
|
null! as compiler.R3DeclareInjectableFacade;
|
|
|
|
const compilerR3DeclareInjectableFacade: compiler.R3DeclareInjectableFacade =
|
|
|
|
null! as core.R3DeclareInjectableFacade;
|
|
|
|
|
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
|
|
|
|
2021-03-14 17:03:59 -04:00
|
|
|
const coreR3DeclareNgModuleFacade: core.R3DeclareNgModuleFacade =
|
|
|
|
null! as compiler.R3DeclareNgModuleFacade;
|
|
|
|
const compilerR3DeclareNgModuleFacade: compiler.R3DeclareNgModuleFacade =
|
|
|
|
null! as core.R3DeclareNgModuleFacade;
|
|
|
|
|
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
|
|
|
|
2021-03-14 17:03:59 -04:00
|
|
|
const coreR3DeclareInjectorFacade: core.R3DeclareInjectorFacade =
|
|
|
|
null! as compiler.R3DeclareInjectorFacade;
|
|
|
|
const compilerR3DeclareInjectorFacade: compiler.R3DeclareInjectorFacade =
|
|
|
|
null! as core.R3DeclareInjectorFacade;
|
|
|
|
|
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
|
|
|
|
2020-12-13 14:25:20 -05:00
|
|
|
const coreR3DeclareDirectiveFacade: core.R3DeclareDirectiveFacade =
|
|
|
|
null! as compiler.R3DeclareDirectiveFacade;
|
|
|
|
const compilerR3DeclareDirectiveFacade: compiler.R3DeclareDirectiveFacade =
|
|
|
|
null! as core.R3DeclareDirectiveFacade;
|
|
|
|
|
2021-03-14 17:03:59 -04:00
|
|
|
const coreR3ComponentMetadataFacade: core.R3ComponentMetadataFacade =
|
|
|
|
null! as compiler.R3ComponentMetadataFacade;
|
|
|
|
const compilerR3ComponentMetadataFacade: compiler.R3ComponentMetadataFacade =
|
|
|
|
null! as core.R3ComponentMetadataFacade;
|
|
|
|
|
2020-12-15 06:47:35 -05:00
|
|
|
const coreR3DeclareComponentFacade: core.R3DeclareComponentFacade =
|
|
|
|
null! as compiler.R3DeclareComponentFacade;
|
|
|
|
const compilerR3DeclareComponentFacade: compiler.R3DeclareComponentFacade =
|
|
|
|
null! as core.R3DeclareComponentFacade;
|
|
|
|
|
2021-03-26 19:45:42 -04:00
|
|
|
const coreR3DeclareUsedDirectiveFacade: core.R3DeclareUsedDirectiveFacade =
|
|
|
|
null! as compiler.R3DeclareUsedDirectiveFacade;
|
|
|
|
const compilerR3DeclareUsedDirectiveFacade: compiler.R3DeclareUsedDirectiveFacade =
|
|
|
|
null! as core.R3DeclareUsedDirectiveFacade;
|
|
|
|
|
2020-12-15 06:47:35 -05:00
|
|
|
const coreR3UsedDirectiveMetadata: core.R3UsedDirectiveMetadata =
|
|
|
|
null! as compiler.R3UsedDirectiveMetadata;
|
|
|
|
const compilerR3UsedDirectiveMetadata: compiler.R3UsedDirectiveMetadata =
|
|
|
|
null! as core.R3UsedDirectiveMetadata;
|
|
|
|
|
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;
|
2020-12-13 14:25:20 -05:00
|
|
|
|
|
|
|
const coreR3DeclareQueryMetadataFacade: core.R3DeclareQueryMetadataFacade =
|
|
|
|
null! as compiler.R3DeclareQueryMetadataFacade;
|
|
|
|
const compilerR3DeclareQueryMetadataFacade: compiler.R3DeclareQueryMetadataFacade =
|
|
|
|
null! as core.R3DeclareQueryMetadataFacade;
|