mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
24 lines
419 B
TypeScript
24 lines
419 B
TypeScript
import { CommonModule } from '@angular/common';
|
|
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
|
|
import { DateTime } from './datetime';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule
|
|
],
|
|
declarations: [
|
|
DateTime
|
|
],
|
|
exports: [
|
|
DateTime
|
|
]
|
|
})
|
|
export class DateTimeModule {
|
|
public static forRoot(): ModuleWithProviders {
|
|
return {
|
|
ngModule: DateTimeModule, providers: []
|
|
};
|
|
}
|
|
}
|