fix(schema): correct type of unctx options

This commit is contained in:
Daniel Roe 2023-07-05 19:32:37 +02:00
parent f4be14a38a
commit 4e32e70bba

View File

@ -193,7 +193,7 @@ export default defineUntypedSchema({
* Options passed directly to the transformer from `unctx` that preserves async context * Options passed directly to the transformer from `unctx` that preserves async context
* after `await`. * after `await`.
* *
* @type {typeof import('unctx').TransformerOptions} * @type {typeof import('unctx/transform').TransformerOptions}
*/ */
asyncTransforms: { asyncTransforms: {
asyncFunctions: ['defineNuxtPlugin', 'defineNuxtRouteMiddleware'], asyncFunctions: ['defineNuxtPlugin', 'defineNuxtRouteMiddleware'],