Explorar o código

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

Ziwen Mei %!s(int64=4) %!d(string=hai) anos
pai
achega
bf267b1ce3

+ 1 - 1
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_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__]: ``
 }
 }

+ 1 - 1
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:
    * 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
   /**
   /**