@mrnafisia/type-query
Advanced tools
Comparing version 1.0.20 to 1.0.21
@@ -318,6 +318,6 @@ "use strict"; | ||
if (error === undefined) { | ||
return [2 /*return*/, (0, never_catch_1.ok)(undefined)]; | ||
return [2 /*return*/, undefined]; | ||
} | ||
else { | ||
return [2 /*return*/, error]; | ||
throw error; | ||
} | ||
@@ -324,0 +324,0 @@ return [2 /*return*/]; |
@@ -24,5 +24,5 @@ import Table from './table'; | ||
}; | ||
declare type TestTransaction = (data: TestTableData<any>[], callback: (client: PoolClient) => void, pool: Pool, isolationLevel?: TransactionIsolationLevel, rollback?: boolean) => Promise<Result<undefined, any>>; | ||
declare type TestTransaction = (data: TestTableData<any>[], callback: (client: PoolClient) => void, pool: Pool, isolationLevel?: TransactionIsolationLevel, rollback?: boolean) => Promise<undefined>; | ||
declare type CreateTestTableData = <T extends Table>(table: T, startData: TestTableData<T>['startData'], finalData: TestTableData<T>['finalData'], skipIt?: TestTableData<T>['skipIt'], lengthCheck?: TestTableData<T>['lengthCheck']) => TestTableData<T>; | ||
export type { TestTableData, TestTransaction, CreateTestTableData }; | ||
//# sourceMappingURL=testUtil.d.ts.map |
{ | ||
"name": "@mrnafisia/type-query", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"description": "mini-orm with full type support for postgres.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
449056