Browse Source
chore(compiler-core): fix typo in errors.ts and options.ts (#4650) [ci skip]
pull/4657/head
Ziwen Mei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
packages/compiler-core/src/errors.ts
-
packages/compiler-core/src/options.ts
|
|
@ -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__]: `` |
|
|
|
} |
|
|
@ -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 |
|
|
|
/** |
|
|
|