mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 11:22:43 +00:00
chore: type issues
This commit is contained in:
parent
012950d7e5
commit
fb3204657a
@ -222,6 +222,7 @@ export default defineComponent({
|
||||
if (activeHead) {
|
||||
activeHead.patch(res.head)
|
||||
} else {
|
||||
// @ts-expect-error type juggling
|
||||
activeHead = head.push(res.head)
|
||||
}
|
||||
}
|
||||
|
@ -2801,7 +2801,7 @@ function normaliseIslandResult (result: NuxtIslandResponse) {
|
||||
.replace(/blue/, '#00f')
|
||||
}
|
||||
if (style.key) {
|
||||
style.key = style.key.replace(/-[a-z0-9]+$/i, '')
|
||||
style.key = String(style.key).replace(/-[a-z0-9]+$/i, '')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user