types/sql-bricks: Export SqlBricksFn type

We'll need to export this in order to define the ops exported from
sql-bricks-postgres in terms of the base sql-bricks exports.
This commit is contained in:
Tau 2019-10-09 18:44:05 -04:00
parent 775584a645
commit 078cb84b35

View File

@ -288,7 +288,7 @@ declare module "sql-bricks" {
and(...whereExpr: WhereExpression[]): SelectStatement;
}
interface SqlBricksFn {
export interface SqlBricksFn {
(...params: any[]): any;
/**
* Wraps a value (user-supplied string, number, boolean, etc) so that it can be passed into SQL Bricks