From 5216925601bf6b85a5b2d78c6e3ef869e578f5ac Mon Sep 17 00:00:00 2001 From: Homa Wong Date: Sun, 8 Jan 2017 23:22:33 -0800 Subject: [PATCH] Fix more linting issue --- src/index.d.ts | 4 ++-- test/typings-test.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index 375ac65..6c8b3dc 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -23,11 +23,11 @@ export interface FluxStandardAction { * The optional `meta` property MAY be any type of value. * It is intended for any extra information that is not part of the payload. */ - meta: Meta + meta: Meta; } export interface ErrorFluxStandardAction extends FluxStandardAction { - error: true + error: true; } /** diff --git a/test/typings-test.ts b/test/typings-test.ts index 634bfee..d594289 100644 --- a/test/typings-test.ts +++ b/test/typings-test.ts @@ -32,13 +32,13 @@ function isCustomAction3(action: any): action is FluxStandardAction { - return true + return true; } -let action2 = {} +let action2 = {}; if (isCustomAction4(action2)) { // type guard infers payload will not be undefined - console.log(action2.payload.message) + console.log(action2.payload.message); } function reducer(state, action) {