You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2025. It is now read-only.
We're using TypeScript with our NodeJS server, so it would be great if there were some type definitions to go with this library (which works great!).
So far we're just using the following in our typings.d.ts to work around this atm:
declare module 'mongo-querystring' {
export = class MongoQS {
constructor(options: any)
public parse (params: any): any
}
}
Providing an index.d.ts file in the root directory of this project would be the most basic way of doing this. Publishing something to @types/node-mongo-querystring would be the more official way.
We're using TypeScript with our NodeJS server, so it would be great if there were some type definitions to go with this library (which works great!).
So far we're just using the following in our
typings.d.tsto work around this atm:Providing an
index.d.tsfile in the root directory of this project would be the most basic way of doing this. Publishing something to@types/node-mongo-querystringwould be the more official way.Thank you for considering this.