From 66a3ac01bd1493f438a134c77e8e2f33951500c5 Mon Sep 17 00:00:00 2001 From: William Fortin Date: Wed, 18 Mar 2015 16:51:22 -0400 Subject: [PATCH] Update underscore.string.ts to support new 3.0.0 api The prebuild library now exports a `s` instead of beign embedded in `_.str` See changelog : https://github.com/epeli/underscore.string/blob/master/CHANGELOG.markdown#300 I've kept the interface UnderscoreStatic to support 2.x --- underscore.string/underscore.string.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/underscore.string/underscore.string.d.ts b/underscore.string/underscore.string.d.ts index 38271f3de..1b08dcf85 100644 --- a/underscore.string/underscore.string.d.ts +++ b/underscore.string/underscore.string.d.ts @@ -10,6 +10,8 @@ interface UnderscoreStatic { string: UnderscoreStringStatic; } +declare var s : UnderscoreStringStatic; + interface UnderscoreStringStatic extends UnderscoreStringStaticExports { /** * Tests if string contains a substring.