fastify 4.24.1 → 4.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fastify.js +1 -1
- package/package.json +1 -1
- package/types/instance.d.ts +2 -0
package/fastify.js
CHANGED
package/package.json
CHANGED
package/types/instance.d.ts
CHANGED
|
@@ -143,6 +143,8 @@ export interface FastifyInstance<
|
|
|
143
143
|
close(closeListener: () => void): undefined;
|
|
144
144
|
|
|
145
145
|
/** Alias for {@linkcode FastifyInstance.close()} */
|
|
146
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
147
|
+
// @ts-ignore - type only available for @types/node >=17 or typescript >= 5.2
|
|
146
148
|
[Symbol.asyncDispose](): Promise<undefined>;
|
|
147
149
|
|
|
148
150
|
// should be able to define something useful with the decorator getter/setter pattern using Generics to enforce the users function returns what they expect it to
|