Closed sksallaj82 closed 1 year ago
It'd be great if I could do this:
private handler = OHandler; construction(config: ODataConfig) { this.handler = o(this.config.rootUrl, this.config) }
so that I could later do this
public makeRequest () { let a = this.handler.get('resource') }
but instead on this line this.handler = o(this.config.rootUrl, this.config) it says
this.handler = o(this.config.rootUrl, this.config)
Property 'prototype' is missing in type 'OHandler' but required in type 'typeof OHandler'
else it works as stated in the docs.
my bad, i was having a syntax issue
private handle = OHandler
should have been
private handle: OHandler
It'd be great if I could do this:
so that I could later do this
but instead on this line
this.handler = o(this.config.rootUrl, this.config)
it sayselse it works as stated in the docs.