Skip to content

Commit

Permalink
update packages (#207)
Browse files Browse the repository at this point in the history
## Please describe the changes this PR makes and why it should be
merged:
- Updates packages
- Fix build error with fastify 4.26.0

## Status and versioning classification:

- Code changes have been tested against the Discord API, or there are no
code changes
- I know how to update typings and have done so, or typings don't need
updating
  • Loading branch information
Neko-Life authored Feb 11, 2024
2 parents fe4c1e6 + 549804e commit 73d419d
Show file tree
Hide file tree
Showing 3 changed files with 3,840 additions and 3,674 deletions.
4 changes: 1 addition & 3 deletions djs-bot/api/v1/src/interfaces/common.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import fastify from 'fastify';
import { FastifyInstance } from 'fastify';
import * as uws from 'uWebSockets.js';
import { ERROR_CODES, STATUS_CODES } from '../lib/constants';
import type DJSBot from '../../../../lib/Bot';

export type Bot = DJSBot;

export type FastifyInstance = ReturnType<typeof fastify>;

export type RegisterRouteHandler = Parameters<FastifyInstance['register']>[0];

export type FastifyRouteHandler = Parameters<
Expand Down
Loading

0 comments on commit 73d419d

Please sign in to comment.