lol-constants 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,7 @@ export declare const DragonTypes: {
|
|
5
5
|
readonly HEXTECH_DRAGON: "HEXTECH_DRAGON";
|
6
6
|
readonly WATER_DRAGON: "WATER_DRAGON";
|
7
7
|
readonly FIRE_DRAGON: "FIRE_DRAGON";
|
8
|
+
readonly ELDER_DRAGON: "ELDER_DRAGON";
|
8
9
|
};
|
9
10
|
export type DragonType = typeof DragonTypes[keyof typeof DragonTypes];
|
10
11
|
export declare function isDragonType(value: any): value is DragonType;
|
@@ -8,6 +8,7 @@ exports.DragonTypes = {
|
|
8
8
|
'HEXTECH_DRAGON': 'HEXTECH_DRAGON',
|
9
9
|
'WATER_DRAGON': 'WATER_DRAGON',
|
10
10
|
'FIRE_DRAGON': 'FIRE_DRAGON',
|
11
|
+
'ELDER_DRAGON': 'ELDER_DRAGON',
|
11
12
|
};
|
12
13
|
function isDragonType(value) {
|
13
14
|
return typeof value == 'string' && value in exports.DragonTypes;
|
package/package.json
CHANGED