From 124f2858fbebe02663a5c8ce8b6498e50c941acc Mon Sep 17 00:00:00 2001 From: nixx quality Date: Mon, 5 Nov 2018 07:57:06 +0100 Subject: [PATCH] type parameters are unneccessary - tsc is smart enough to assert this --- types/deep-diff/index.d.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/types/deep-diff/index.d.ts b/types/deep-diff/index.d.ts index c246e42501..ac4d50b44a 100644 --- a/types/deep-diff/index.d.ts +++ b/types/deep-diff/index.d.ts @@ -4,27 +4,27 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 -export interface DiffNew { - kind: Kind; +export interface DiffNew { + kind: 'N'; path?: any[]; rhs: RHS; } -export interface DiffDeleted { - kind: Kind; +export interface DiffDeleted { + kind: 'D'; path?: any[]; lhs: LHS; } -export interface DiffEdit { - kind: Kind; +export interface DiffEdit { + kind: 'E'; path?: any[]; lhs: LHS; rhs: RHS; } -export interface DiffArray { - kind: Kind; +export interface DiffArray { + kind: 'A'; path?: any[]; index: number; item: Diff;