
This contains major changes to the compiler, bootstrap of the platforms and test environment initialization. Main part of #10043 Closes #10164 BREAKING CHANGE: - Semantics and name of `@AppModule` (now `@NgModule`) changed quite a bit. This is actually not breaking as `@AppModules` were not part of rc.4. We will have detailed docs on `@NgModule` separately. - `coreLoadAndBootstrap` and `coreBootstrap` can't be used any more (without migration support). Use `bootstrapModule` / `bootstrapModuleFactory` instead. - All Components listed in routes have to be part of the `declarations` of an NgModule. Either directly on the bootstrap module / lazy loaded module, or in an NgModule imported by them.
69 lines
2.6 KiB
TypeScript
69 lines
2.6 KiB
TypeScript
/**
|
|
* @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
|
|
*/
|
|
|
|
import {__compiler_private__ as _c} from '@angular/compiler';
|
|
|
|
export type AssetUrl = _c.AssetUrl;
|
|
export var AssetUrl: typeof _c.AssetUrl = _c.AssetUrl;
|
|
|
|
export type ImportGenerator = _c.ImportGenerator;
|
|
export var ImportGenerator: typeof _c.ImportGenerator = _c.ImportGenerator;
|
|
|
|
export type CompileMetadataResolver = _c.CompileMetadataResolver;
|
|
export var CompileMetadataResolver: typeof _c.CompileMetadataResolver = _c.CompileMetadataResolver;
|
|
|
|
export type HtmlParser = _c.HtmlParser;
|
|
export var HtmlParser: typeof _c.HtmlParser = _c.HtmlParser;
|
|
|
|
export type I18nHtmlParser = _c.I18nHtmlParser;
|
|
export var I18nHtmlParser: typeof _c.I18nHtmlParser = _c.I18nHtmlParser;
|
|
|
|
export type MessageExtractor = _c.MessageExtractor;
|
|
export var MessageExtractor: typeof _c.MessageExtractor = _c.MessageExtractor;
|
|
|
|
export type ExtractionResult = _c.ExtractionResult;
|
|
export var ExtractionResult: typeof _c.ExtractionResult = _c.ExtractionResult;
|
|
|
|
export type Message = _c.Message;
|
|
export var Message: typeof _c.Message = _c.Message;
|
|
|
|
export var removeDuplicates: typeof _c.removeDuplicates = _c.removeDuplicates;
|
|
export var serializeXmb: typeof _c.serializeXmb = _c.serializeXmb;
|
|
export var deserializeXmb: typeof _c.deserializeXmb = _c.deserializeXmb;
|
|
|
|
export type ParseError = _c.ParseError;
|
|
export var ParseError: typeof _c.ParseError = _c.ParseError;
|
|
|
|
export type DirectiveNormalizer = _c.DirectiveNormalizer;
|
|
export var DirectiveNormalizer: typeof _c.DirectiveNormalizer = _c.DirectiveNormalizer;
|
|
|
|
export type Lexer = _c.Lexer;
|
|
export var Lexer: typeof _c.Lexer = _c.Lexer;
|
|
|
|
export type Parser = _c.Parser;
|
|
export var Parser: typeof _c.Parser = _c.Parser;
|
|
|
|
export type TemplateParser = _c.TemplateParser;
|
|
export var TemplateParser: typeof _c.TemplateParser = _c.TemplateParser;
|
|
|
|
export type DomElementSchemaRegistry = _c.DomElementSchemaRegistry;
|
|
export var DomElementSchemaRegistry: typeof _c.DomElementSchemaRegistry =
|
|
_c.DomElementSchemaRegistry;
|
|
|
|
export type StyleCompiler = _c.StyleCompiler;
|
|
export var StyleCompiler: typeof _c.StyleCompiler = _c.StyleCompiler;
|
|
|
|
export type ViewCompiler = _c.ViewCompiler;
|
|
export var ViewCompiler: typeof _c.ViewCompiler = _c.ViewCompiler;
|
|
|
|
export type NgModuleCompiler = _c.NgModuleCompiler;
|
|
export var NgModuleCompiler: typeof _c.NgModuleCompiler = _c.NgModuleCompiler;
|
|
|
|
export type TypeScriptEmitter = _c.TypeScriptEmitter;
|
|
export var TypeScriptEmitter: typeof _c.TypeScriptEmitter = _c.TypeScriptEmitter;
|