Closed CuriouslyCory closed 6 years ago
In index.d.ts this fixes the problem. I should probably figure out how to do a pull request.
declare let _default: {
create,
removeDatabase,
plugin,
isRxDatabase,
isRxCollection,
isRxDocument,
isRxQuery,
isRxSchema,
RxSchema,
PouchDB,
QueryChangeDetector,
RxDatabase,
RxError
};
export default _default;
I fixed this with the linked commits. Thank you for reporting :+1:
Case
Since updating typescript to 2.6.0 I keep getting the following error:
The expression of an export assignment must be an identifier or qualified name in an ambient context.
Issue
Critical failure
Info
Code
Just update to 2.6.0 and init a database.