Skip to content

Commit

Permalink
revert GoPlusType so it can work with switch statement
Browse files Browse the repository at this point in the history
  • Loading branch information
odilitime committed Jan 10, 2025
1 parent 1258bc1 commit 2910cd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-goplus/src/lib/GoPlusManage.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


export const GoPlusTypeEnum = {
export const GoPlusType = {
EVMTOKEN_SECURITY_CHECK: "EVMTOKEN_SECURITY_CHECK",
SOLTOKEN_SECURITY_CHECK: "SOLTOKEN_SECURITY_CHECK",
SUITOKEN_SECURITY_CHECK: "SUITOKEN_SECURITY_CHECK",
Expand All @@ -15,7 +15,7 @@ export const GoPlusTypeEnum = {
URL_SECURITY_CHECK: "URL_SECURITY_CHECK",
} as const;

export type GoPlusType = (typeof GoPlusTypeEnum)[keyof typeof GoPlusTypeEnum];
export type GoPlusTypeType = (typeof GoPlusTypeEnum)[keyof typeof GoPlusType];

export type GoPlusParamType = {
"type": GoPlusType,
Expand Down

0 comments on commit 2910cd3

Please sign in to comment.