-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚀 Example: TypeScript with root level hooks #40
Comments
I'm having the same issue, where no matter what I try, the root level hooks are not getting called in .ts files. |
same here |
Jic you are still looking for the solution, We ended up adding it to the nodejs namespace and referencing it using the triple slash directive |
Can you give us the definition file you created? @dayafigueroa |
I found a solution from the documentation here You just need to pass as an argument Example: |
Now that #76 is in, I think it'd be great to have another example showing one of those with hooks. Accepting PRs! |
Could you provide an example of root level hooks like described here for typescript? When I create a
hooks.js
orhooks.ts
it doesn't get called.The text was updated successfully, but these errors were encountered: