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
parent
commit
bf267b1ce3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/compiler-core/src/errors.ts
  2. 2
      packages/compiler-core/src/options.ts

2
packages/compiler-core/src/errors.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__]: ``
}

2
packages/compiler-core/src/options.ts

@ -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
/**

Loading…
Cancel
Save