From 4220dd986878a2b450fa15a8196f40b11482b90e Mon Sep 17 00:00:00 2001 From: Simon Fridlund Date: Tue, 29 Aug 2017 18:20:22 +0200 Subject: [PATCH] flux-standard-action: Update AnyMeta and TypedMeta `meta` is optional according to the specification. --- types/flux-standard-action/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/flux-standard-action/index.d.ts b/types/flux-standard-action/index.d.ts index 388132bea6..ce328e9be8 100644 --- a/types/flux-standard-action/index.d.ts +++ b/types/flux-standard-action/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for flux-standard-action 0.5.0 // Project: https://github.com/acdlite/flux-standard-action // Definitions by: Qubo +// Simon Fridlund // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -16,12 +17,12 @@ export interface Action { /** Usage: `var action: Action & AnyMeta;` */ export interface AnyMeta { - meta: any + meta?: any; } /** Usage: `var action: Action & TypedMeta;` */ export interface TypedMeta { - meta: T + meta?: T; } export declare function isFSA(action: any): action is Action;