Open dojineko opened 1 year ago
Added TypeScript type definitions for redis-lock 1.0.0
fix: https://github.com/errorception/redis-lock/issues/36 ref: https://github.com/misskey-dev/misskey/pull/9971
The following is a record of how JSDoc handles this issue. If it is necessary, I would like to change the means of implementation.
The function output is not a Promise<string | undefined>, It's a function and should be Promise<() => Promise<void>>
Promise<string | undefined>
Promise<() => Promise<void>>
Added TypeScript type definitions for redis-lock 1.0.0
fix: https://github.com/errorception/redis-lock/issues/36 ref: https://github.com/misskey-dev/misskey/pull/9971
The following is a record of how JSDoc handles this issue. If it is necessary, I would like to change the means of implementation.