Skip to content

Commit d42a404

Browse files
committed
refactor: Remove dead function
1 parent 5610787 commit d42a404

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/types/BadgeGravity.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { Gravity } from '@imagemagick/magick-wasm';
2-
31
enum BadgeGravity {
42
Northwest = 'northwest',
53
North = 'north',
@@ -9,25 +7,6 @@ enum BadgeGravity {
97
Southeast = 'southeast',
108
}
119

12-
export function getGravityFromBadgeGravity(
13-
badgeGravity: BadgeGravity,
14-
): Gravity {
15-
switch (badgeGravity) {
16-
case BadgeGravity.Northwest:
17-
return Gravity.Northwest;
18-
case BadgeGravity.North:
19-
return Gravity.North;
20-
case BadgeGravity.Northeast:
21-
return Gravity.Northeast;
22-
case BadgeGravity.Southwest:
23-
return Gravity.Southwest;
24-
case BadgeGravity.South:
25-
return Gravity.South;
26-
case BadgeGravity.Southeast:
27-
return Gravity.Southeast;
28-
}
29-
}
30-
3110
export function getBadgeGravityFromString(input: string): BadgeGravity {
3211
switch (input.toLowerCase()) {
3312
case 'northwest':

0 commit comments

Comments
 (0)