mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
only the array "QueryArrayResult" variant contained the "fields" property Added a new "QueryResultBase" interface with the shared set of fields between the single/array results and refactored both QueryResult and QueryArrayResult to extend from it, each now only needing to specify their own type variation of the "row" property for the type of results they contain (single vs array) Modified the tests to reference the "fields" array on single select results similarly to how it was done for the array select results |
||
|---|---|---|
| .. | ||
| v6 | ||
| index.d.ts | ||
| pg-tests.ts | ||
| tsconfig.json | ||
| tslint.json | ||