Skip to content

Commit a16ff26

Browse files
committedJan 10, 2025·
revert GoPlusType so it can work with switch statement
1 parent 79e3942 commit a16ff26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎packages/plugin-goplus/src/lib/GoPlusManage.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
export const GoPlusTypeEnum = {
3+
export const GoPlusType = {
44
EVMTOKEN_SECURITY_CHECK: "EVMTOKEN_SECURITY_CHECK",
55
SOLTOKEN_SECURITY_CHECK: "SOLTOKEN_SECURITY_CHECK",
66
SUITOKEN_SECURITY_CHECK: "SUITOKEN_SECURITY_CHECK",
@@ -15,7 +15,7 @@ export const GoPlusTypeEnum = {
1515
URL_SECURITY_CHECK: "URL_SECURITY_CHECK",
1616
} as const;
1717

18-
export type GoPlusType = (typeof GoPlusTypeEnum)[keyof typeof GoPlusTypeEnum];
18+
export type GoPlusTypeType = (typeof GoPlusTypeEnum)[keyof typeof GoPlusType];
1919

2020
export type GoPlusParamType = {
2121
"type": GoPlusType,

0 commit comments

Comments
 (0)
Please sign in to comment.