For people who like all their types in order.
npm install druid.d.tsFor people who like all their types in order.
This ambient type definition was written as part of Plywood but was extracted as it can be of use in any TypeScript based project that deals with Druid queries.
1. Copy the file druid/druid.d.ts into your project.
2. Refer to it using: ///
3. Use the types defined within the Druid module.
These definitions use union and string types and thus requires TypeScript >= 1.8