Closed adithyagenie closed 7 months ago
Need to improve type documentation for custom adapters when using enchanceStorage function. There is no mention in docs to use new StorageAdapter<Enhance<SessionData>>({ //params// }).
enchanceStorage
new StorageAdapter<Enhance<SessionData>>({ //params// })
https://t.me/grammyjs/146160
This was fixed by #1019
Need to improve type documentation for custom adapters when using
enchanceStorage
function. There is no mention in docs to usenew StorageAdapter<Enhance<SessionData>>({ //params// })
.