Extend shared stats interface to weakness and resistance
This commit is contained in:
@ -1,4 +0,0 @@
|
||||
export interface Resistance {
|
||||
type: string;
|
||||
value: string;
|
||||
}
|
||||
8
src/interfaces/stats.ts
Normal file
8
src/interfaces/stats.ts
Normal file
@ -0,0 +1,8 @@
|
||||
interface Stats {
|
||||
type: string;
|
||||
value: string;
|
||||
}
|
||||
|
||||
export interface Resistance extends Stats {}
|
||||
|
||||
export interface Weakness extends Stats {}
|
||||
@ -1,4 +0,0 @@
|
||||
export interface Weakness {
|
||||
type: string;
|
||||
value: string;
|
||||
}
|
||||
Reference in New Issue
Block a user