Prefix interfaces for data with a capital I
This commit is contained in:
parent
fae2fe3837
commit
dbedecc900
3 changed files with 12 additions and 2 deletions
|
|
@ -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";
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
export interface Colour {
|
export interface IColour {
|
||||||
name: string;
|
name: string;
|
||||||
hex: string;
|
hex: string;
|
||||||
}
|
}
|
||||||
4
common/src/types/Spaceship.ts
Normal file
4
common/src/types/Spaceship.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
export interface ISpaceship {
|
||||||
|
name: string;
|
||||||
|
id: string;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue