sugar-inflections
Advanced tools
Comparing version
@@ -0,2 +1,7 @@ | ||
v2.0.3 | ||
====== | ||
- Updated Typescript declaration files to better handle modules. | ||
- Fixed issue with Range date unit methods on invalid ranges. | ||
v2.0.2 | ||
@@ -3,0 +8,0 @@ ====== |
/* | ||
* Sugar v2.0.2 | ||
* Sugar v2.0.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Freely distributable and licensed under the MIT-style license. |
/* | ||
* Sugar v2.0.2 | ||
* Sugar v2.0.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Freely distributable and licensed under the MIT-style license. |
{ | ||
"name": "sugar-inflections", | ||
"description": "Inflections module for the Sugar Javascript utility library.", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"homepage": "https://sugarjs.com/", | ||
@@ -6,0 +6,0 @@ "icon": "https://sugarjs.com/icon.svg", |
@@ -1,5 +0,7 @@ | ||
// Extended type definitions for Sugar v2.0.2 | ||
// Extended type definitions for Sugar v2.0.3 | ||
// Project: https://sugarjs.com/ | ||
// Definitions by: Andrew Plummer <plummer.andrew@gmail.com> | ||
// <reference path="sugar.d.ts" /> | ||
interface String { | ||
@@ -6,0 +8,0 @@ humanize(): string; |
@@ -1,8 +0,7 @@ | ||
// Type definitions for Sugar v2.0.2 | ||
// Type definitions for Sugar v2.0.3 | ||
// Project: https://sugarjs.com/ | ||
// Definitions by: Andrew Plummer <plummer.andrew@gmail.com> | ||
declare module sugarjs { | ||
declare namespace sugarjs { | ||
type DisambiguationFunction = Function; | ||
type SugarDefaultChainable<RawValue> = Array.Chainable<any, RawValue> & | ||
@@ -15,2 +14,3 @@ Date.Chainable<RawValue> & | ||
String.Chainable<RawValue>; | ||
type NativeConstructor = ArrayConstructor | | ||
@@ -69,3 +69,3 @@ DateConstructor | | ||
module Array { | ||
namespace Array { | ||
@@ -110,3 +110,3 @@ type Chainable<T, RawValue> = ChainableBase<T, RawValue> & Object.ChainableBase<RawValue>; | ||
module Date { | ||
namespace Date { | ||
@@ -167,3 +167,3 @@ type Chainable<RawValue> = ChainableBase<RawValue> & Object.ChainableBase<RawValue>; | ||
module Function { | ||
namespace Function { | ||
@@ -183,3 +183,3 @@ type Chainable<RawValue> = ChainableBase<RawValue> & Object.ChainableBase<RawValue>; | ||
module Number { | ||
namespace Number { | ||
@@ -200,3 +200,3 @@ type Chainable<RawValue> = ChainableBase<RawValue> & Object.ChainableBase<RawValue>; | ||
module Object { | ||
namespace Object { | ||
@@ -213,3 +213,3 @@ type Chainable<RawValue> = ChainableBase<RawValue>; | ||
module RegExp { | ||
namespace RegExp { | ||
@@ -228,3 +228,3 @@ type Chainable<RawValue> = ChainableBase<RawValue> & Object.ChainableBase<RawValue>; | ||
module String { | ||
namespace String { | ||
@@ -301,2 +301,7 @@ type Chainable<RawValue> = ChainableBase<RawValue> & Object.ChainableBase<RawValue>; | ||
declare module "sugar" { | ||
const Sugar: sugarjs.Sugar; | ||
export = Sugar; | ||
} | ||
declare var Sugar: sugarjs.Sugar; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
361069
0.07%5632
0.07%