-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfastify+3.14.0.patch
39 lines (36 loc) · 2.11 KB
/
fastify+3.14.0.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
diff --git a/node_modules/fastify/types/instance.d.ts b/node_modules/fastify/types/instance.d.ts
index 67d6930..60b7916 100644
--- a/node_modules/fastify/types/instance.d.ts
+++ b/node_modules/fastify/types/instance.d.ts
@@ -62,20 +62,20 @@ export interface FastifyInstance<
getDefaultRoute: DefaultRoute<RawRequest, RawReply>;
setDefaultRoute(defaultRoute: DefaultRoute<RawRequest, RawReply>): void;
- route<
- RouteGeneric extends RouteGenericInterface = RouteGenericInterface,
- ContextConfig = ContextConfigDefault,
- SchemaCompiler = FastifySchema,
- >(opts: RouteOptions<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler>): FastifyInstance<RawServer, RawRequest, RawReply, Logger>;
-
- get: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
- head: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
- post: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
- put: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
- delete: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
- options: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
- patch: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
- all: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
+ // route<
+ // RouteGeneric extends RouteGenericInterface = RouteGenericInterface,
+ // ContextConfig = ContextConfigDefault,
+ // SchemaCompiler = FastifySchema,
+ // >(opts: RouteOptions<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler>): FastifyInstance<RawServer, RawRequest, RawReply, Logger>;
+
+ // get: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
+ // head: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
+ // post: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
+ // put: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
+ // delete: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
+ // options: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
+ // patch: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
+ // all: RouteShorthandMethod<RawServer, RawRequest, RawReply>;
// addHook: overloads