@types/pg
Advanced tools
@@ -66,3 +66,4 @@ import { CustomTypesConfig } from ".."; | ||
| type TypeId = builtins; | ||
| type TypeParser<I extends (string | Buffer), T> = (value: I) => T; | ||
| type TypeParser<TOid = number, TReturn = any> = (oid: TOid) => TReturn; | ||
| type TypeFormat = "text" | "binary"; | ||
@@ -76,4 +77,3 @@ export = TypeOverrides; | ||
| getTypeParser<T>(oid: number | TypeId, format?: "text"): TypeParser<string, T | string>; | ||
| getTypeParser<T>(oid: number | TypeId, format: "binary"): TypeParser<Buffer, T | string>; | ||
| getTypeParser<T>(oid: number | TypeId, format?: TypeFormat): TypeParser; | ||
| } |
+2
-2
| { | ||
| "name": "@types/pg", | ||
| "version": "8.15.3", | ||
| "version": "8.15.4", | ||
| "description": "TypeScript definitions for pg", | ||
@@ -36,4 +36,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pg", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "9f16c28c176ad9191a50844727f6e1ece00e0686113cdaa8fab889f62d08977f", | ||
| "typesPublisherContentHash": "1df9604d3c0f5bd0713592a33b19b2d88034938fa9af44ab97f2112ff5efabe2", | ||
| "typeScriptVersion": "5.1" | ||
| } |
+1
-1
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Sun, 01 Jun 2025 15:34:14 GMT | ||
| * Last updated: Sun, 01 Jun 2025 20:35:13 GMT | ||
| * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [pg-protocol](https://npmjs.com/package/pg-protocol), [pg-types](https://npmjs.com/package/pg-types) | ||
@@ -14,0 +14,0 @@ |
18798
-0.36%