File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @lunarclient/discord-hono" ,
3- "version" : " 0.0.7 " ,
3+ "version" : " 0.0.8 " ,
44 "description" : " This module enables you to easily build a Discord Bot that runs on Cloudflare workers" ,
55 "author" : " Luis (https://github.com/luisfun)" ,
66 "homepage" : " https://github.com/luisfun/discord-hono" ,
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ abstract class DiscordHonoBase<E extends Env> {
248248 * @returns Context object with bindings and Discord environment
249249 */
250250export const getBindings = < E extends Env > ( ) => {
251- const typedStoredEnv = storedEnv as E | undefined
251+ const typedStoredEnv = storedEnv as E [ "Bindings" ] | undefined
252252 if ( ! typedStoredEnv ) {
253253 throw new Error ( 'getBindings() called before any handler received environment bindings' ) ;
254254 }
You can’t perform that action at this time.
0 commit comments