Skip to content

Commit ce170cf

Browse files
try fix typo
1 parent 8775e07 commit ce170cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/sketch/SideBar/Files/components/TreeDirectoryMain.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
:sib-directories="sibDirectories"
2929
:sib-files="sibFiles"
3030
@save="
31-
($event) => {
31+
($event: string) => {
3232
changeName($event)
3333
nameInput = ''
3434
}

src/components/sketch/SideBar/Search/components/SearchTreeDirectory.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
)
3333
"
3434
@click:close-item="
35-
(full, isDir) => emit('click:close-item', full, isDir)
35+
(full: string, isDir: boolean) => emit('click:close-item', full, isDir)
3636
"
3737
/>
3838
</template>
@@ -51,7 +51,7 @@
5151
}"
5252
@click:close-match="emit('click:close-match', fullPath, $event)"
5353
@click:replace-match="
54-
(fullPath, match) => replaceMatch(fullPath, match, replace)
54+
(fullPath: string, match: Match) => replaceMatch(fullPath, match, replace)
5555
"
5656
@click:close="emit('click:close-item', fullPath, false)"
5757
@click:replace="

0 commit comments

Comments
 (0)