DefinitelyTyped/types/couchbase
Brian Crowell 3f5b9e5f0e [couchbase]: Ensure OpCallback is composable with normal callbacks (#27639)
The documentation gets weird about the API promising to return *some* kind
of value that evaluates to false, even if that might be the number zero.
The original types author expressed that as CouchbaseError | number, but
that makes it seem like the result could be some non-zero number.

I don't know whether the library actually issues callback(0) calls, but to
make it play better with normal callbacks (err?: Error), we will act as if
it uses null instead of zero.
2018-08-01 12:05:04 -07:00
..
couchbase-tests.ts
index.d.ts
tsconfig.json
tslint.json