Prefix interfaces for data with a capital I

This commit is contained in:
Oliver-Akins 2022-01-03 18:40:09 -07:00
parent fae2fe3837
commit dbedecc900
3 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,10 @@
// Enums
export { Status } from "./enums/Status"; export { Status } from "./enums/Status";
export { Colour } from "./types/Colour";
// Interfaces
export { IColour } from "./types/Colour";
export { ISpaceship } from "./types/Spaceship";
// Server-Client Communications
export * from "./types/events/SaveShip"; export * from "./types/events/SaveShip";
export * from "./types/ServerResponse"; export * from "./types/ServerResponse";

View file

@ -1,4 +1,4 @@
export interface Colour { export interface IColour {
name: string; name: string;
hex: string; hex: string;
} }

View file

@ -0,0 +1,4 @@
export interface ISpaceship {
name: string;
id: string;
}