Skip to content

Commit 3946143

Browse files
authored
Merge pull request #21271 from ayushshukla1807/fix-typos
Fix minor typos
2 parents 4f721d6 + b41c29a commit 3946143

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/internal-test-helpers/lib/get-all-property-names.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// The `& string` here is to enforce that the propreties are strings since this is expected
1+
// The `& string` here is to enforce that the properties are strings since this is expected
22
// to be the case elsewhere.
33
export default function getAllPropertyNames<T>(Klass: { prototype: T }): Set<keyof T & string> {
44
let proto = Klass.prototype;

packages/internal-test-helpers/lib/test-context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function setContext(context: BaseContext): void {
1414
}
1515

1616
/**
17-
* Retrive the "global testing context" as stored by `setContext`.
17+
* Retrieve the "global testing context" as stored by `setContext`.
1818
*
1919
* @returns {Object} the previously stored testing context
2020
*/

packages/router_js/lib/route-info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ export default class InternalRouteInfo<R extends Route> {
397397
// Ignore the fulfilled value returned from afterModel.
398398
// Return the value stashed in resolvedModels, which
399399
// might have been swapped out in afterModel.
400-
// SAFTEY: We expect this to be of type T, though typing it as such is challenging.
400+
// SAFETY: We expect this to be of type T, though typing it as such is challenging.
401401
return transition.resolvedModels[name]! as unknown as ModelFor<R>;
402402
});
403403
}

packages/router_js/lib/transition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export default class Transition<R extends Route> implements Partial<Promise<R>>
266266
@public
267267
*/
268268
finally<T>(callback?: T | undefined, label?: string) {
269-
// @ts-expect-error @types/rsvp doesn't have the correct signiture for RSVP.Promise.finally
269+
// @ts-expect-error @types/rsvp doesn't have the correct signature for RSVP.Promise.finally
270270
return this.promise!.finally(callback, label);
271271
}
272272

0 commit comments

Comments
 (0)