Comparing version 1.3.7 to 1.3.8
@@ -1,2 +0,2 @@ | ||
interface teamColor { | ||
export interface TeamColor { | ||
hex: string; | ||
@@ -6,18 +6,18 @@ tgb: [number, number, number]; | ||
interface teamColors { | ||
[colorName: string]: teamColor; | ||
export interface TeamColors { | ||
[colorName: string]: TeamColor; | ||
} | ||
interface colors { | ||
export interface Colors { | ||
[teamAbbreviation: string]: { | ||
fullName: string; | ||
mainColor: string; | ||
colors: teamColors; | ||
colors: TeamColors; | ||
}; | ||
} | ||
export function getAllColors(): colors; | ||
export function getMainColor(teamAbbreviation: string): teamColor; | ||
export function getColors(teamAbbreviation: string): teamColors; | ||
export function getAllColors(): Colors; | ||
export function getMainColor(teamAbbreviation: string): TeamColor; | ||
export function getColors(teamAbbreviation: string): TeamColors; | ||
export function getFullName(teamAbbreviation: string): string; | ||
export function getColorsList(teamAbbreviation: string): string[]; |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "1.3.7", | ||
"version": "1.3.8", | ||
"main": "lib/nba-color.js", | ||
@@ -17,0 +17,0 @@ "module": "lib/nba-color.mjs", |
25460