Skip to content

Commit

Permalink
fix(types): DataType.TEXT overloading definition
Browse files Browse the repository at this point in the history
  • Loading branch information
joe223 committed Nov 11, 2021
1 parent da3ac09 commit c85d533
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/lib/data-types.d.ts
Expand Up @@ -112,6 +112,8 @@ export const TEXT: TextDataTypeConstructor;

interface TextDataTypeConstructor extends AbstractDataTypeConstructor {
new (length?: TextLength): TextDataType;
new (options?: TextDataTypeOptions): TextDataType;
(length?: TextLength): TextDataType;
(options?: TextDataTypeOptions): TextDataType;
}

Expand Down

0 comments on commit c85d533

Please sign in to comment.