Posts by Goufix • 80 points
3 posts
-
2
votes1
answer100
viewsA: Javascript function making nodemon run in loop
According to the documentation from the Nodemon library, if no configuration is provided for the library it will observe the following file types: .js, .mjs, .coffee, .litcoffee, and .json. This…
-
3
votes1
answer41
viewsQ: Omit extended typescript typing
When using the Mongoose library, typing a model can be done with an interface that extends the type mongoose.Document. This approach is working according to the example below: import mongoose from…
-
1
votes1
answer70
viewsQ: How to access the properties of a data that is defined with type "Object" in Typescript?
I’m using a library jsonwebtoken, defining the type of return of a callback as object | undefined. I need to use this object to access a specific property, but I’m not getting it. verify('', '',…