fix: type check (#416)
All checks were successful
Build and Deploy / build-and-deploy (push) Has been skipped

This commit is contained in:
Libin YANG 2024-09-17 16:13:24 +08:00 committed by GitHub
parent d8a3d06330
commit 8e93889ae4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -219,7 +219,7 @@ export function exportHTML() {
return (
element.tagName === `SPAN`
&& (isCode(element.parentElement)
|| isCode((element.parentElement!).parentElement))
|| isCode((element.parentElement!).parentElement))
)
}
}