Extend shared stats interface to weakness and resistance

This commit is contained in:
Tee
2021-03-01 21:31:52 -05:00
parent e7d36cc5a1
commit 320d62dd41
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +0,0 @@
export interface Resistance {
type: string;
value: string;
}

8
src/interfaces/stats.ts Normal file
View File

@ -0,0 +1,8 @@
interface Stats {
type: string;
value: string;
}
export interface Resistance extends Stats {}
export interface Weakness extends Stats {}

View File

@ -1,4 +0,0 @@
export interface Weakness {
type: string;
value: string;
}