common-types
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -0,12 +1,24 @@ | ||
/** | ||
* A Javascript hash which allows for any set of keys | ||
*/ | ||
export interface IDictionary<T = any> { | ||
[key: string]: T; | ||
} | ||
/** | ||
* A numeric Javascript array | ||
*/ | ||
export interface INumericArray<T = any> { | ||
[key: number]: T; | ||
} | ||
/** A function for sorting JS arrays */ | ||
export declare type SortingFunction = (a: any, b: any) => number; | ||
/** a string of the format: "YYYY-MM-DD" */ | ||
export declare type datestring = string; | ||
/** a string of the format: "HH:mm:ss" */ | ||
export declare type timestring = string; | ||
/** a string of the format: "UTC" */ | ||
export declare type timezone = string; | ||
/** string representation of datetime in format of "2016-07-17T13:29:11.652Z" */ | ||
export declare type datetime = string; | ||
/** unix epoch datetime format (aka, seconds since 1970) */ | ||
export declare type epoch = number; | ||
@@ -13,0 +25,0 @@ export declare enum STAGE { |
{ | ||
"name": "common-types", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Common types not included in Typescript", | ||
@@ -5,0 +5,0 @@ "main": "lib/common-types.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13554
125