Details
-
Improvement
-
Resolution: Incomplete
-
Major
-
None
-
None
-
None
-
None
-
1
Description
I don't want to come across as ungrateful for the work that has been done to incorporate TypeScript users, but the current situation is unusable and confusing, especially when following the documentation for the SDK causes a loss of type safety.
For example, due to the use of the @hidecontructor tag on the Cluster class, I cannot directly instantiate a cluster like in the example while being type safe (it has type any). If I use ESModule syntax, I can
import 'couchbase' |
Attachments
Issue Links
- duplicates
-
JSCBC-842 Provide Proper Type Definitions
- Resolved