I'm submitting a ... (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
hello, after upgrade to 2.4.6, I get Uncaught ReferenceError: __ng_jsonp____req0_finished is not defined as #13219 (comment)

Plunkr
http://plnkr.co/edit/WcRnPrJHa04rJy3xTIky?p=preview
And my code is
search(key: string) {
const params = new URLSearchParams()
params.set('key', key)
params.set('jsonpCallback', 'JSONP_CALLBACK')
return this.jsonp.get('https://c.y.qq.com/splcloud/fcgi-bin/smartbox_new.fcg?' + params)
.toPromise()
.then(res => {
console.log(res)
return []
})
}
Reactions are currently unavailable
I'm submitting a ... (check one with "x")
Current behavior
hello, after upgrade to 2.4.6, I get Uncaught ReferenceError: __ng_jsonp____req0_finished is not defined as #13219 (comment)

Plunkr
http://plnkr.co/edit/WcRnPrJHa04rJy3xTIky?p=preview
And my code is
search(key: string) { const params = new URLSearchParams() params.set('key', key) params.set('jsonpCallback', 'JSONP_CALLBACK') return this.jsonp.get('https://c.y.qq.com/splcloud/fcgi-bin/smartbox_new.fcg?' + params) .toPromise() .then(res => { console.log(res) return [] }) }