Open mamaly12 opened 2 years ago
Hi,
I have a class that extends CouchBase:
import {CouchBase} from '@triniwiz/nativescript-couchbase'; import { Query} from '@triniwiz/nativescript-couchbase/common'; declare let com: any; export class CouchbaseLite extends CouchBase { } ...
when I try to instantiate my parent class:
this.database = new CouchbaseLite("hello");
I will face this error:
JS: ERROR TypeError: Class constructor CouchBase cannot be invoked without 'new'
I would be more than happy if you could give me some advice.
Thank you
Hi,
I have a class that extends CouchBase:
when I try to instantiate my parent class:
this.database = new CouchbaseLite("hello");
I will face this error:
JS: ERROR TypeError: Class constructor CouchBase cannot be invoked without 'new'
I would be more than happy if you could give me some advice.
Thank you