Skip to content

Commit 9165ac6

Browse files
committed
docs: correct parameterised spelling
1 parent f495de7 commit 9165ac6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const client = await setup({
100100
}
101101
}),
102102
// Return a mapping of user roles and abilities.
103-
// This function is paramaterised with a list of all CRUD abilities that have been
103+
// This function is parameterised with a list of all CRUD abilities that have been
104104
// automatically generated by Yates, as well as any customAbilities that have been defined.
105105
getRoles: (abilities) => {
106106
return {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ export interface SetupParams<
796796
customAbilities?: K;
797797
/**
798798
* A function that returns the roles for your application.
799-
* This is paramaterised by the abilities, so you can use it to create roles that are a combination of abilities.
799+
* This is parameterised by the abilities, so you can use it to create roles that are a combination of abilities.
800800
*/
801801
getRoles: (abilities: DefaultAbilities<ContextKeys, YModels> & K) => {
802802
[role: string]: AllAbilities<ContextKeys, YModels>[] | "*";

0 commit comments

Comments
 (0)