Skip to content

Commit b5499f2

Browse files
committed
Fix typos in comments and error messages across multiple files
1 parent df6e083 commit b5499f2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/bind/src/LegacyBindingHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const legacyBindingMap = new PossibleWeakMap()
1515
export class LegacyBindingHandler extends BindingHandler {
1616
get handler(): any {
1717
// Needed to prevent tsc error for using this.handler
18-
// is overriden in factory functions. Any must be used for return type
18+
// is overridden in factory functions. Any must be used for return type
1919
return undefined
2020
}
2121
initReturn: any

packages/provider.attr/src/AttributeProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ export default class AttrProvider extends Provider {
6969
return this.globals[token]
7070
}
7171

72-
throw new Error(`The variable '${token} not found.`)
72+
throw new Error(`The variable '${token}' not found.`)
7373
}
7474
}

packages/utils.parser/src/Parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ export default class Parser {
600600

601601
/**
602602
* Use this method to parse expressions that can be followed by additional markup
603-
* seperated by a comma, such as in bindings strings.
603+
* separated by a comma, such as in bindings strings.
604604
*
605605
* @returns an expression that cannot contain multiple values separated by commas.
606606
* @see {@link Parser.expression}

0 commit comments

Comments
 (0)