Open johnkmzhou opened 6 days ago
Thanks for reporting!
Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that.
Thanks for reporting!
Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that.
I updated the initial post with a code snippet that should help.
Prerequisites
Fastify version
4.28.1
Plugin version
No response
Node.js version
18
Operating system
Windows
Operating system version (i.e. 20.04, 11.3, 10)
10
Description
Getting this TypeScript error:
This looks to be similar to #120.
Steps to reproduce
Run the following code with TypeScript (environment variables will need to be provided):
No response
Expected Behavior
No TypeScript error.