File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 22All notable changes to this project will be documented in this file.
33This project does its best to adhere to [ Semantic Versioning] ( http://semver.org/ ) .
44
5+
6+ --------
7+ ### [ 0.6.0] ( N/A ) - 2020-09-04
8+ #### Changed
9+ * Update to TypeScript 4.0
10+
11+
512--------
6- ### [ 0.5.2] ( N/A ) - 2019-11-08
13+ ### [ 0.5.2] ( https://github.com/TeamworkGuy2/excel-builder-ts/commit/df4ce3b7a57d68c64cc1a285b5cd80fca8deedca ) - 2019-11-08
714#### Changed
815* Update to TypeScript 3.7
916
Original file line number Diff line number Diff line change 11{
22 "name" : " excel-builder-ts" ,
3- "version" : " 0.5.2 " ,
3+ "version" : " 0.6.0 " ,
44 "description" : " TypeScript Port of excel-builder.js - A way to build excel files with javascript" ,
55 "author" : " TeamworkGuy2" ,
66 "homepage" : " https://github.com/TeamworkGuy2/excel-builder-ts" ,
1515 "@types/mocha" : " ~5.2.7" ,
1616 "chai" : " ~4.2.0" ,
1717 "mocha" : " ~5.2.0" ,
18- "typescript" : " ~3.7 .2"
18+ "typescript" : " ~4.0 .2"
1919 },
2020 "scripts" : {
2121 "test" : " node node_modules/mocha/bin/_mocha -u tdd --recursive" ,
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ class StyleSheet {
226226 * }
227227 */
228228 public createBorderFormatter ( border ?: { top ?: any ; left ?: any ; right ?: any ; bottom ?: any ; diagonal ?: any ; outline ?: boolean ; diagonalUp ?: boolean ; diagonalDown ?: boolean ; [ id : string ] : any ; } ) {
229- var res : StyleSheet . Border & { id : number } = Util . defaults ( < Exclude < typeof border , undefined > > border , {
229+ var res = < StyleSheet . Border & { id : number } > Util . defaults ( < Exclude < typeof border , undefined > > border , {
230230 top : { } ,
231231 left : { } ,
232232 right : { } ,
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class Worksheet {
122122 */
123123 public importData ( data : Partial < Worksheet . ExportData > & { relations : RelationshipManager . ExportData } ) : void {
124124 this . relations . importData ( data . relations ) ;
125- delete data . relations ;
125+ delete ( < any > data ) . relations ;
126126 Object . assign ( this , data ) ;
127127 }
128128
You can’t perform that action at this time.
0 commit comments