You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found many Twoslash errors while building the nuxt documentation. Is this expected?
#12 755.8 ERROR
#12 755.8 ## Errors were thrown in the sample, but not included in an error tag
#12 755.8
#12 755.8 These errors were not marked as being expected: 2322.
#12 755.8 Expected: // @errors: 2322
#12 755.8
#12 755.8 Compiler Errors:
#12 755.8
#12 755.8 index.tsx
#12 755.8 [2322] 240 - Type 'string' is not assignable to type 'NavigationGuard'.
#12 755.8
#12 755.8 ## Errors were thrown in the sample, but not included in an error tag
#12 755.8
#12 755.8 These errors were not marked as being expected: 2322.
#12 755.8 Expected: // @errors: 2322
#12 755.8
#12 755.8 Compiler Errors:
#12 755.8
#12 755.8 index.tsx
#12 755.8 [2322] 240 - Type 'string' is not assignable to type 'NavigationGuard'.
#12 755.8 at validateCodeForErrors (node_modules/.pnpm/[email protected][email protected]/node_modules/twoslash/dist/core.mjs:41:20)
#12 755.8 at twoslasher2 (node_modules/.pnpm/[email protected][email protected]/node_modules/twoslash/dist/core.mjs:346:7)
#12 755.8 at twoslasher (node_modules/.pnpm/[email protected][email protected]/node_modules/twoslash-vue/dist/index.mjs:89:20)
#12 755.8 at Object.preprocess (node_modules/.pnpm/@[email protected][email protected]/node_modules/@shikijs/twoslash/dist/core.mjs:1127:30)
#12 755.8 at Object.preprocess (node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected][email protected][email protected]/node_modules/@shikijs/vitepress-twoslash/dist/index.mjs:213:34)
#12 755.8 at codeToHast (node_modules/.pnpm/@[email protected]/node_modules/@shikijs/core/dist/index.mjs:1158:37)
#12 755.8 at Object.codeToHast (node_modules/.pnpm/@[email protected]/node_modules/@shikijs/core/dist/index.mjs:1825:37)
#12 755.8 at highlighter (node_modules/.cache/nuxt/.nuxt/prerender/chunks/build/mdc-highlighter.mjs:98:25)
#12 755.8 at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
#12 755.8 at async Object.handler (node_modules/.cache/nuxt/.nuxt/prerender/chunks/nitro/nitro.mjs:4141:10)
#12 755.8
Example:
The text was updated successfully, but these errors were encountered:
I found many Twoslash errors while building the nuxt documentation. Is this expected?
Example:
The text was updated successfully, but these errors were encountered: