UNPKG
objection-guid
Version:
latest (3.1.0)
3.1.0
3.0.2
3.0.1
3.0.0
2.1.0
2.0.0
1.0.1
1.0.0
objection-guid
github.com/seegno/objection-guid
seegno/objection-guid
objection-guid
/
index.d.ts
9 lines
(6 loc)
•
207 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Model
}
from
'objection'
;
interface
Options
{
field
?:
string
;
generateGuid
?:
() =>
string
|
number
; }
export
default
function
(
options
?:
Options
): <T
extends
typeof
Model
>
(
ClassModel
: T
) =>
T;