mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
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
This commit is contained in:
+2
@@ -10,6 +10,8 @@ interface UnderscoreStatic {
|
||||
string: UnderscoreStringStatic;
|
||||
}
|
||||
|
||||
declare var s : UnderscoreStringStatic;
|
||||
|
||||
interface UnderscoreStringStatic extends UnderscoreStringStaticExports {
|
||||
/**
|
||||
* Tests if string contains a substring.
|
||||
|
||||
Reference in New Issue
Block a user