Skip to content

Commit

Permalink
TypeScripts update.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Jan 28, 2017
1 parent da6bc77 commit 0e5a284
Show file tree
Hide file tree
Showing 3 changed files with 454 additions and 404 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pg-promise",
"version": "5.5.3",
"version": "5.5.4",
"description": "Promises interface for PostgreSQL",
"main": "lib/index.js",
"typings": "typescript/pg-promise.d.ts",
Expand Down
49 changes: 49 additions & 0 deletions test/typescript/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import {
TQueryFileOptions,
TFormattingOptions,
TConnectionOptions,
TPreparedBasic,
TParameterizedBasic,
TPrepared,
TParameterized,
TQuery,
TColumnDescriptor,
TColumnConfig,
TColumnSetOptions,
TUpdateOptions,
TTable,
TQueryColumns,
TSqlBuildConfig,
TableName,
Column,
ColumnSet,
queryResult,
PreparedStatement,
ParameterizedQuery,
QueryFile,
PromiseAdapter,
IDatabase,
IConfig,
IMain,
ITask,
IBaseProtocol,
IConnected,
ITaskContext,
IEventContext,
IQueryResultError,
IQueryFileError,
IPreparedStatementError,
IParameterizedQueryError,
queryResultErrorCode,
IErrors,
isolationLevel,
TransactionMode,
IOptions,
ILibConfig,
IFormatting,
ITXMode,
IUtils,
IHelpers,
IGenericPromise
}
from '../../typescript/pg-promise';
Loading

0 comments on commit 0e5a284

Please sign in to comment.