mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
28 lines
883 B
TypeScript
28 lines
883 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC 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.dev/license
|
|
*/
|
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {COMMON_DIRECTIVES} from './directives/index';
|
|
import {COMMON_PIPES} from './pipes/index';
|
|
|
|
// Note: This does not contain the location providers,
|
|
// as they need some platform specific implementations to work.
|
|
/**
|
|
* Exports all the basic Angular directives and pipes,
|
|
* such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.
|
|
* Re-exported by `BrowserModule`, which is included automatically in the root
|
|
* `AppModule` when you create a new app with the CLI `new` command.
|
|
*
|
|
* @publicApi
|
|
*/
|
|
@NgModule({
|
|
imports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
exports: [COMMON_DIRECTIVES, COMMON_PIPES],
|
|
})
|
|
export class CommonModule {}
|