diff --git a/index.d.ts b/index.d.ts index 6265b66..56c64a1 100644 --- a/index.d.ts +++ b/index.d.ts @@ -38,11 +38,11 @@ declare module 'athena-express' { type OptionalQueryResultsInterface = Partial> & Pick, 'QueryExecutionId'>; type QueryResult = OptionalQueryResultsInterface; - type QueryFunc = (query: QueryObjectInterface|DirectQueryString|QueryExecutionId) => Promise>; + type QueryFunc = (query: QueryObjectInterface|DirectQueryString|QueryExecutionId) => Promise>; - class AthenaExpress { + class AthenaExpress { public new: (config: Partial) => any; - public query: QueryFunc; + public query: QueryFunc; constructor(config: Partial); } }