chore(compiler-core): fix typo in errors.ts and options.ts (#4650) [ci skip]

This commit is contained in:
Ziwen Mei 2021-09-22 22:12:33 +08:00 committed by GitHub
parent 52e4ea732d
commit bf267b1ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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_SCOPE_ID_NOT_SUPPORTED]: `"scopeId" option is only supported in module mode.`,
// just to fullfill types
// just to fulfill types
[ErrorCodes.__EXTEND_POINT__]: ``
}

View File

@ -130,7 +130,7 @@ interface SharedTransformCodegenOptions {
* When compiler generates code for SSR's fallback branch, we need to set it to false:
* - context.ssr = false
*
* see `subTransform` in `ssrTransformCompoent.ts`
* see `subTransform` in `ssrTransformComponent.ts`
*/
ssr?: boolean
/**