Skip to content

Commit

Permalink
Fix a typo about the Fastify framework name
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30-st committed Oct 4, 2024
1 parent 649f42f commit 3c10516
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/build/framework/fastify/framework.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ export declare class FastifyResponse extends BaseResponse {
export declare type SessionRequest<TRequest extends OriginalFastifyRequest = OriginalFastifyRequest> = TRequest & {
session?: SessionContainerInterface;
};
export interface FasitfyFramework extends Framework {
export interface FastifyFramework extends Framework {
plugin: FastifyPluginCallback;
errorHandler: () => (err: any, req: OriginalFastifyRequest, res: FastifyReply) => Promise<void>;
}
export declare const errorHandler: () => (err: any, req: OriginalFastifyRequest, res: FastifyReply) => Promise<void>;
export declare const FastifyWrapper: FasitfyFramework;
export declare const FastifyWrapper: FastifyFramework;
4 changes: 2 additions & 2 deletions lib/ts/framework/fastify/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export type SessionRequest<TRequest extends OriginalFastifyRequest = OriginalFas
session?: SessionContainerInterface;
};

export interface FasitfyFramework extends Framework {
export interface FastifyFramework extends Framework {
plugin: FastifyPluginCallback;
errorHandler: () => (err: any, req: OriginalFastifyRequest, res: FastifyReply) => Promise<void>;
}
Expand All @@ -200,7 +200,7 @@ export const errorHandler = () => {
};
};

export const FastifyWrapper: FasitfyFramework = {
export const FastifyWrapper: FastifyFramework = {
plugin,
errorHandler,
wrapRequest: (unwrapped) => {
Expand Down

0 comments on commit 3c10516

Please sign in to comment.