fix server.ts

This commit is contained in:
pooya parsa 2020-08-04 12:14:46 +02:00
parent 36db8c7759
commit 60ce35f3b2

View File

@ -347,12 +347,12 @@ export default class Server {
return this.app.stack.map(({ handle }) => handle._middleware && handle._middleware.entry).filter(Boolean) return this.app.stack.map(({ handle }) => handle._middleware && handle._middleware.entry).filter(Boolean)
} }
renderRoute (...args: Parameters<VueRenderer['renderRoute']>) { renderRoute () {
return this.renderer.renderRoute.apply(this.renderer, ...args.slice()) return this.renderer.renderRoute.apply(this.renderer, arguments)
} }
loadResources (...args: Parameters<VueRenderer['loadResources']>) { loadResources () {
return this.renderer.loadResources.apply(this.renderer, ...args) return this.renderer.loadResources.apply(this.renderer, arguments)
} }
renderAndGetWindow (url, opts = {}, { renderAndGetWindow (url, opts = {}, {