Skip to content

Commit e3ce851

Browse files
committed
fix: fix the problem of inaccurate type declaration
1 parent e5f382b commit e3ce851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CodeDiff.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ interface Props {
1818
noDiffLineFeed?: boolean
1919
maxHeight?: string
2020
filename?: string
21-
hideHeader: boolean
22-
hideStat: boolean
21+
hideHeader?: boolean
22+
hideStat?: boolean
2323
}
2424
2525
interface DiffResult {

0 commit comments

Comments
 (0)