Преглед на файлове

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

Ziwen Mei преди 4 години
родител
ревизия
bf267b1ce3
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      packages/compiler-core/src/errors.ts
  2. 1 1
      packages/compiler-core/src/options.ts

+ 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_SCOPE_ID_NOT_SUPPORTED]: `"scopeId" option is only supported in module mode.`,
 
-  // just to fullfill types
+  // just to fulfill types
   [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:
    *  - context.ssr = false
    *
-   * see `subTransform` in `ssrTransformCompoent.ts`
+   * see `subTransform` in `ssrTransformComponent.ts`
    */
   ssr?: boolean
   /**