Skip to content

Commit

Permalink
fix: ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-huxiyang committed Sep 29, 2024
1 parent 646799f commit 8ec86c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/__VUE/sku/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ export interface SkuInfo {
id: number
active: boolean
disable: boolean
// @ts-ignore
// @ts-expect-error

Check warning on line 6 in src/packages/__VUE/sku/type.ts

View check run for this annotation

codefactor.io / CodeFactor

src/packages/__VUE/sku/type.ts#L6

Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer. (@typescript-eslint/ban-ts-comment)

Check failure on line 6 in src/packages/__VUE/sku/type.ts

View workflow job for this annotation

GitHub Actions / build

Unused '@ts-expect-error' directive.
[props: string]: any

Check warning on line 7 in src/packages/__VUE/sku/type.ts

View check run for this annotation

codefactor.io / CodeFactor

src/packages/__VUE/sku/type.ts#L7

Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
}

0 comments on commit 8ec86c6

Please sign in to comment.