
This patch removes the deprecated support for animation symbol imports from @angular/core. BREAKING CHANGE: it is no longer possible to import animation-related functions from @angular/core. All animation symbols must now be imported from @angular/animations. PR Close #22692
21 lines
655 B
TypeScript
21 lines
655 B
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 {NgModule} from '@angular/core';
|
|
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
|
|
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
|
|
|
import {AnimateApp} from './app/animate-app';
|
|
|
|
@NgModule({declarations: [AnimateApp], bootstrap: [AnimateApp], imports: [BrowserAnimationsModule]})
|
|
class ExampleModule {
|
|
}
|
|
|
|
export function main() {
|
|
platformBrowserDynamic().bootstrapModule(ExampleModule);
|
|
}
|