From fefafb09f4f1240e1b921c8d084d0ea5eba1b054 Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 7 May 2018 11:31:29 -0700 Subject: [PATCH] ramda: Use typescript@2.8 (#25424) --- types/ramda/index.d.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index 69acb41dc6..5a3b58cd5b 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -19,13 +19,12 @@ // Keagan McClelland // Tomas Szabo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.6 +// TypeScript Version: 2.8 declare let R: R.Static; declare namespace R { - type Diff = ({[P in T]: P } & {[P in U]: never } & { [x: string]: never })[T]; - type Omit = Pick>; + type Omit = Pick>; type Ord = number | string | boolean; @@ -1296,8 +1295,8 @@ declare namespace R { * Returns a partial copy of an object containing only the keys specified. If the key does not exist, the * property is ignored. */ - pick(names: ReadonlyArray, obj: T): Pick>>; - pick(names: ReadonlyArray): (obj: T) => Pick>>; + pick(names: ReadonlyArray, obj: T): Pick>>; + pick(names: ReadonlyArray): (obj: T) => Pick>>; /** * Similar to `pick` except that this one includes a `key: undefined` pair for properties that don't exist.