chore(compiler-core): fix typo in errors.ts and options.ts (#4650) [ci skip]
This commit is contained in:
parent
52e4ea732d
commit
bf267b1ce3
@ -177,6 +177,6 @@ export const errorMessages: Record<ErrorCodes, string> = {
|
|||||||
[ErrorCodes.X_CACHE_HANDLER_NOT_SUPPORTED]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
|
[ErrorCodes.X_CACHE_HANDLER_NOT_SUPPORTED]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
|
||||||
[ErrorCodes.X_SCOPE_ID_NOT_SUPPORTED]: `"scopeId" option is only supported in module mode.`,
|
[ErrorCodes.X_SCOPE_ID_NOT_SUPPORTED]: `"scopeId" option is only supported in module mode.`,
|
||||||
|
|
||||||
// just to fullfill types
|
// just to fulfill types
|
||||||
[ErrorCodes.__EXTEND_POINT__]: ``
|
[ErrorCodes.__EXTEND_POINT__]: ``
|
||||||
}
|
}
|
||||||
|
@ -130,7 +130,7 @@ interface SharedTransformCodegenOptions {
|
|||||||
* When compiler generates code for SSR's fallback branch, we need to set it to false:
|
* When compiler generates code for SSR's fallback branch, we need to set it to false:
|
||||||
* - context.ssr = false
|
* - context.ssr = false
|
||||||
*
|
*
|
||||||
* see `subTransform` in `ssrTransformCompoent.ts`
|
* see `subTransform` in `ssrTransformComponent.ts`
|
||||||
*/
|
*/
|
||||||
ssr?: boolean
|
ssr?: boolean
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user