-
-
Notifications
You must be signed in to change notification settings - Fork 241
Expand file tree
/
Copy pathcommon.ts
More file actions
40 lines (38 loc) · 816 Bytes
/
common.ts
File metadata and controls
40 lines (38 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { CommonModule } from "@angular/common";
import {
NO_ERRORS_SCHEMA,
NgModule,
} from "@angular/core";
import {
ModalDialogHost,
ModalDialogService,
} from "./directives/dialogs";
import {
defaultDeviceProvider,
defaultFrameProvider,
defaultPageProvider,
} from "./platform-providers";
import { NS_DIRECTIVES } from "./directives";
@NgModule({
declarations: [
ModalDialogHost,
...NS_DIRECTIVES,
],
providers: [
ModalDialogService,
defaultDeviceProvider,
defaultFrameProvider,
defaultPageProvider,
],
imports: [
CommonModule,
],
exports: [
CommonModule,
ModalDialogHost,
...NS_DIRECTIVES,
],
schemas: [NO_ERRORS_SCHEMA]
})
export class NativeScriptCommonModule {
}