diff --git a/components/notification/nz-notification-container.component.ts b/components/notification/nz-notification-container.component.ts
index 8c34928e044..0f41bf12af5 100644
--- a/components/notification/nz-notification-container.component.ts
+++ b/components/notification/nz-notification-container.component.ts
@@ -12,6 +12,8 @@ import { NzNotificationDataFilled } from './nz-notification.definitions';
templateUrl : './nz-notification-container.component.html'
})
export class NzNotificationContainerComponent extends NzMessageContainerComponent {
+ config: NzNotificationConfig = {};
+
constructor(
cdr: ChangeDetectorRef,
@Optional() @Inject(NZ_NOTIFICATION_DEFAULT_CONFIG) defaultConfig: NzNotificationConfig,
diff --git a/components/notification/nz-notification.component.html b/components/notification/nz-notification.component.html
index 84bd9152942..74c56a479d2 100644
--- a/components/notification/nz-notification.component.html
+++ b/components/notification/nz-notification.component.html
@@ -1,6 +1,6 @@
diff --git a/components/pagination/nz-pagination.component.ts b/components/pagination/nz-pagination.component.ts
index bf5b6b710c4..00ba9af49ec 100644
--- a/components/pagination/nz-pagination.component.ts
+++ b/components/pagination/nz-pagination.component.ts
@@ -35,7 +35,7 @@ export class NzPaginationComponent implements OnInit, OnDestroy {
private _total: number;
private _pageIndex = 1;
firstIndex = 1;
- pages = [];
+ pages: Array<{index: number}> = [];
@Input() nzShowTotal: TemplateRef<{ $implicit: number, range: [ number, number ] }>;
@Input() nzInTable = false;
@Input() nzSize: string;
@@ -231,7 +231,7 @@ export class NzPaginationComponent implements OnInit, OnDestroy {
/** generate indexes list */
buildIndexes(): void {
- const tmpPages = [];
+ const tmpPages: Array<{index: number}> = [];
if (this.lastIndex <= 9) {
for (let i = 2; i <= this.lastIndex - 1; i++) {
tmpPages.push({ index: i });
diff --git a/components/table/nz-td.component.html b/components/table/nz-td.component.html
index 2a4eb3f8408..fd36da12259 100644
--- a/components/table/nz-td.component.html
+++ b/components/table/nz-td.component.html
@@ -8,7 +8,7 @@
(ngModelChange)="nzCheckedChange.emit($event)">
= 0"
class="ant-table-row-expand-icon ant-table-row-spaced">
= [];
+ @Input() nzSelections: Array<{ text: string, onSelect(): any }> = [];
@Input() nzChecked = false;
@Input() nzDisabled = false;
@Input() nzIndeterminate = false;
diff --git a/components/tabs/nz-tabset.component.html b/components/tabs/nz-tabset.component.html
index eb796ce2f75..e75b80c7338 100644
--- a/components/tabs/nz-tabset.component.html
+++ b/components/tabs/nz-tabset.component.html
@@ -39,7 +39,7 @@
[class.ant-tabs-right-content]="nzTabPosition === 'right'"
[class.ant-tabs-content-animated]="tabPaneAnimated"
[class.ant-tabs-content-no-animated]="!tabPaneAnimated"
- [style.margin-left.%]="tabPaneAnimated && (-nzSelectedIndex*100)">
+ [style.margin-left.%]="tabPaneAnimated && (-(nzSelectedIndex || 0)*100)">