mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Update package json typescript version (#2368)
* update package json typescript version * fix test problem * fix minor upload type bug
This commit is contained in:
@@ -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)
|
||||
|
@@ -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",
|
||||
|
@@ -50,7 +50,7 @@ describe('ContentColumnList', () => {
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
documentList = TestBed.createComponent(DocumentListComponent).componentInstance;
|
||||
documentList = (TestBed.createComponent(DocumentListComponent).componentInstance as DocumentListComponent);
|
||||
actionList = new ContentActionListComponent(documentList);
|
||||
});
|
||||
|
||||
|
@@ -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);
|
||||
});
|
||||
|
||||
|
@@ -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();
|
||||
|
@@ -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();
|
||||
|
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user