common-types
Advanced tools
Comparing version 1.0.5 to 1.1.0
@@ -5,3 +5,3 @@ | ||
*/ | ||
interface IDictionary<T = any> { | ||
export interface IDictionary<T = any> { | ||
[key: string]: T; | ||
@@ -13,3 +13,3 @@ } | ||
*/ | ||
interface INumericArray<T = any> { | ||
export interface INumericArray<T = any> { | ||
[key: number]: T; | ||
@@ -19,10 +19,10 @@ } | ||
/** a string of the format: "YYYY-MM-DD" */ | ||
type datestring = string; | ||
export type datestring = string; | ||
/** a string of the format: "HH:mm:ss" */ | ||
type timestring = string; | ||
export type timestring = string; | ||
/** a string of the format: "UTC" */ | ||
type timezone = string; | ||
export type timezone = string; | ||
/** string representation of datetime in format of "2016-07-17T13:29:11.652Z" */ | ||
type datetime = string; | ||
/** unix epoc datetime format (aka, seconds since 1970) */ | ||
type epoc = number; | ||
export type datetime = string; | ||
/** unix epoch datetime format (aka, seconds since 1970) */ | ||
export type epoch = number; |
{ | ||
"name": "common-types", | ||
"version": "1.0.5", | ||
"version": "1.1.0", | ||
"description": "Common types not included in Typescript", | ||
@@ -5,0 +5,0 @@ "main": "common-types.ts", |
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
10197