From e91b6b762b5a33f20c2ce87e264689231addfbab Mon Sep 17 00:00:00 2001 From: Matt Langston Date: Sat, 25 Jun 2016 18:17:00 -0500 Subject: [PATCH] Fix type for Lovefield RawForeignKeySpec object Currently the RawForeignKeySpec.timing type is set to lf.ConstraintAction. After checking the test in https://github.com/google/lovefield/blob/master/tests/schema/builder_test.js#L49 I confirmed that it should be lf.ConstraintTiming instead. --- lovefield/lovefield.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lovefield/lovefield.d.ts b/lovefield/lovefield.d.ts index 1b28dae739..c988b6b14c 100644 --- a/lovefield/lovefield.d.ts +++ b/lovefield/lovefield.d.ts @@ -188,7 +188,7 @@ declare namespace lf { local: string ref: string action: lf.ConstraintAction - timing: lf.ConstraintAction + timing: lf.ConstraintTiming } export interface TableBuilder {