Open zuozp8 opened 6 years ago
I was rewriting my code as typescript and i noticed that result of this.$http.post(…) doesn't know that it has methods catch and finally
this.$http.post(…)
catch
finally
Same problem here, the temporary solution was to use: .then(success => {/*code*/}, error => {/*code*/}); Or you can rewrite the index.d.ts from @types/vue-resource.
.then(success => {/*code*/}, error => {/*code*/});
I was rewriting my code as typescript and i noticed that result of
this.$http.post(…)
doesn't know that it has methodscatch
andfinally