battleship-types
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -82,6 +82,9 @@ // Type definitions for battleship-types 1.0 | ||
export interface IShip { | ||
export interface IBaseShip { | ||
name: string, | ||
orientation: ShipOrientation, | ||
} | ||
export interface IShip extends IBaseShip { | ||
type: ShipType | ||
name: string | ||
orientation: ShipOrientation | ||
spacesOccupied: IPoint[] | ||
@@ -88,0 +91,0 @@ size: number |
{ | ||
"name": "battleship-types", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "TypeScript type definitions for the game of Battleship.", | ||
@@ -5,0 +5,0 @@ "main": "index.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
3075
91