Merge pull request #6481 from chrootsu/lodash-deburr

lodash: signatures of the method _.deburr changed
This commit is contained in:
Masahiro Wakame
2015-11-02 21:47:56 +09:00
2 changed files with 22 additions and 2 deletions
+14 -2
View File
@@ -3828,8 +3828,20 @@ module TestCapitalize {
}
// _.deburr
result = <string>_.deburr('déjà vu');
result = <string>_('déjà vu').deburr();
module TestDeburr {
{
let result: string;
result = _.deburr('déjà vu');
result = _('déjà vu').deburr();
}
{
let result: _.LoDashExplicitWrapper<string>;
result = _('déjà vu').chain().deburr();
}
}
// _.endsWith
module TestEndsWith {
+8
View File
@@ -9185,6 +9185,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.
*/
@@ -9198,6 +9199,13 @@ declare module _ {
deburr(): string;
}
interface LoDashExplicitWrapper<T> {
/**
* @see _.deburr
*/
deburr(): LoDashExplicitWrapper<string>;
}
//_.endsWith
interface LoDashStatic {
/**