From 1c17156d0792cfc93795b41eb5f9a3cb3ca01a26 Mon Sep 17 00:00:00 2001 From: Ilya Mochalov Date: Tue, 27 Oct 2015 23:46:17 +0500 Subject: [PATCH] lodash: signatures of the method _.deburr changed --- lodash/lodash-tests.ts | 16 ++++++++++++++-- lodash/lodash.d.ts | 8 ++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/lodash/lodash-tests.ts b/lodash/lodash-tests.ts index 3afc49041..30799597a 100644 --- a/lodash/lodash-tests.ts +++ b/lodash/lodash-tests.ts @@ -3776,8 +3776,20 @@ module TestCapitalize { } // _.deburr -result = _.deburr('déjà vu'); -result = _('déjà vu').deburr(); +module TestDeburr { + { + let result: string; + + result = _.deburr('déjà vu'); + result = _('déjà vu').deburr(); + } + + { + let result: _.LoDashExplicitWrapper; + + result = _('déjà vu').chain().deburr(); + } +} // _.endsWith module TestEndsWith { diff --git a/lodash/lodash.d.ts b/lodash/lodash.d.ts index d143f4e65..5cc4cabf2 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -9180,6 +9180,7 @@ declare module _ { /** * Deburrs string by converting latin-1 supplementary letters to basic latin letters and removing combining * diacritical marks. + * * @param string The string to deburr. * @return Returns the deburred string. */ @@ -9193,6 +9194,13 @@ declare module _ { deburr(): string; } + interface LoDashExplicitWrapper { + /** + * @see _.deburr + */ + deburr(): LoDashExplicitWrapper; + } + //_.endsWith interface LoDashStatic { /**