Skip to content

Commit aac7e18

Browse files
authored
docs: fix typos in comments in the code (#14253)
1 parent c68bebf commit aac7e18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/compiler-sfc/src/script/defineProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ function genDestructuredDefaultValue(
369369
}
370370
}
371371

372-
// non-comprehensive, best-effort type infernece for a runtime value
372+
// non-comprehensive, best-effort type inference for a runtime value
373373
// this is used to catch default value / type declaration mismatches
374374
// when using props destructure.
375375
function inferValueType(node: Node): string | undefined {

packages/compiler-sfc/src/script/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function toFileNameLowerCase(x: string) {
109109

110110
/**
111111
* We need `getCanonicalFileName` when creating ts module resolution cache,
112-
* but TS does not expose it directly. This implementation is repllicated from
112+
* but TS does not expose it directly. This implementation is replicated from
113113
* the TS source code.
114114
*/
115115
export function createGetCanonicalFileName(

0 commit comments

Comments
 (0)