Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 0b9d296

Browse files
committed
fix: spread-operator on objects requires tslint, removed requiredment
1 parent 4c5f5ed commit 0b9d296

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@
7979
"promise-polyfill": "^7.1.2",
8080
"prompt": "^1.0.0",
8181
"rimraf": "^2.6.2",
82-
"tns-core-modules": "^4.0.1",
83-
"tns-platform-declarations": "~4.0.0",
82+
"tns-core-modules": "^4.1.0",
83+
"tns-platform-declarations": "^4.1.0",
8484
"tslint": "^5.0.0",
85-
"typescript": "~2.6.0"
85+
"typescript": "~2.7.0"
8686
},
8787
"dependencies": {},
8888
"bootstrapper": "nativescript-plugin-seed"

src/webview-ext-common.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export class WebViewExtBase extends View {
194194
return this.injectWebViewBridge()
195195
.then(() => args)
196196
.catch((error) => {
197-
return {...args, error};
197+
return Object.assign({}, args, {error});
198198
})
199199
.then((args) => {
200200
this.notify(args);

0 commit comments

Comments
 (0)