Update package json typescript version (#2368)

* update package json typescript version

* fix test problem

* fix minor upload type bug
This commit is contained in:
Eugenio Romano
2017-09-24 16:01:34 +01:00
committed by GitHub
parent 7f3a4fc513
commit 70a38acbff
35 changed files with 4312 additions and 2142 deletions

View File

@@ -12,6 +12,7 @@ Contains the Document List component and other related components and classes.
+ [Events](#events)
* [Details](#details)
+ [DOM Events](#dom-events)
+ [Pagination strategy](#pagination-strategy)
+ [Data Sources](#data-sources)
- [Node ID](#node-id)
- [Repository aliases](#repository-aliases)

View File

@@ -116,7 +116,7 @@
"ts-node": "1.7.0",
"tslint": "5.5.0",
"tslint-loader": "3.5.3",
"typescript": "2.3.4",
"typescript": "2.5.2",
"webpack": "2.2.1",
"webpack-dev-server": "2.3.0",
"webpack-merge": "2.6.1",

View File

@@ -50,7 +50,7 @@ describe('ContentColumnList', () => {
}));
beforeEach(() => {
documentList = TestBed.createComponent(DocumentListComponent).componentInstance;
documentList = (TestBed.createComponent(DocumentListComponent).componentInstance as DocumentListComponent);
actionList = new ContentActionListComponent(documentList);
});

View File

@@ -71,7 +71,7 @@ describe('ContentAction', () => {
documentActions = new DocumentActionsService(nodeActionsService);
folderActions = new FolderActionsService(nodeActionsService, null, contentService);
documentList = TestBed.createComponent(DocumentListComponent).componentInstance;
documentList = (TestBed.createComponent(DocumentListComponent).componentInstance as DocumentListComponent);
actionList = new ContentActionListComponent(documentList);
});

View File

@@ -50,7 +50,7 @@ describe('ContentColumnList', () => {
}));
beforeEach(() => {
documentList = TestBed.createComponent(DocumentListComponent).componentInstance;
documentList = (TestBed.createComponent(DocumentListComponent).componentInstance as DocumentListComponent);
columnList = new ContentColumnListComponent(documentList);
documentList.ngOnInit();

View File

@@ -50,7 +50,7 @@ describe('ContentColumn', () => {
}));
beforeEach(() => {
documentList = TestBed.createComponent(DocumentListComponent).componentInstance;
documentList = (TestBed.createComponent(DocumentListComponent).componentInstance as DocumentListComponent);
columnList = new ContentColumnListComponent(documentList);
documentList.ngOnInit();

View File

@@ -50,7 +50,7 @@ describe('EmptyFolderContent', () => {
}));
beforeEach(() => {
documentList = TestBed.createComponent(DocumentListComponent).componentInstance;
documentList = (TestBed.createComponent(DocumentListComponent).componentInstance as DocumentListComponent);
documentList.dataTable = new DataTableComponent(null, null);
emptyFolderContent = new EmptyFolderContentDirective(documentList);
});