mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 19:32:40 +00:00
chore: type issues
This commit is contained in:
parent
012950d7e5
commit
fb3204657a
@ -222,6 +222,7 @@ export default defineComponent({
|
|||||||
if (activeHead) {
|
if (activeHead) {
|
||||||
activeHead.patch(res.head)
|
activeHead.patch(res.head)
|
||||||
} else {
|
} else {
|
||||||
|
// @ts-expect-error type juggling
|
||||||
activeHead = head.push(res.head)
|
activeHead = head.push(res.head)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2801,7 +2801,7 @@ function normaliseIslandResult (result: NuxtIslandResponse) {
|
|||||||
.replace(/blue/, '#00f')
|
.replace(/blue/, '#00f')
|
||||||
}
|
}
|
||||||
if (style.key) {
|
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