Skip to content

Commit

Permalink
fix: type check (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanglbme committed Sep 17, 2024
1 parent d8a3d06 commit 8e93889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { nextTick, ref } from 'vue'
import { ref } from 'vue'
import { storeToRefs } from 'pinia'
import StyleOptionMenu from './StyleOptionMenu.vue'
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export function exportHTML() {
return (
element.tagName === `SPAN`
&& (isCode(element.parentElement)
|| isCode((element.parentElement!).parentElement))
|| isCode((element.parentElement!).parentElement))
)
}
}
Expand Down

0 comments on commit 8e93889

Please sign in to comment.