@@ -91,12 +91,12 @@ export class AbilityBuilder<T extends AnyAbility> {
9191 can <
9292 I extends InstanceOf < T , S > ,
9393 S extends SubjectTypeOf < T > = SubjectTypeOf < T >
94- > ( ...args : BuilderCanParameters < S , I , T > ) : RuleBuilder < T >
94+ > ( ...args : BuilderCanParameters < S , I , T > ) : RuleBuilder < T > ;
9595 can <
9696 I extends InstanceOf < T , S > ,
9797 F extends string = Keys < I > ,
9898 S extends SubjectTypeOf < T > = SubjectTypeOf < T >
99- > ( ...args : BuilderCanParametersWithFields < S , I , F | Keys < I > , T > ) : RuleBuilder < T >
99+ > ( ...args : BuilderCanParametersWithFields < S , I , F | Keys < I > , T > ) : RuleBuilder < T > ;
100100 can (
101101 action : string | string [ ] ,
102102 subject ?: SubjectType | SubjectType [ ] ,
@@ -127,12 +127,12 @@ export class AbilityBuilder<T extends AnyAbility> {
127127 cannot <
128128 I extends InstanceOf < T , S > ,
129129 S extends SubjectTypeOf < T > = SubjectTypeOf < T >
130- > ( ...args : BuilderCanParameters < S , I , T > ) : RuleBuilder < T >
130+ > ( ...args : BuilderCanParameters < S , I , T > ) : RuleBuilder < T > ;
131131 cannot <
132132 I extends InstanceOf < T , S > ,
133133 F extends string = Keys < I > ,
134134 S extends SubjectTypeOf < T > = SubjectTypeOf < T >
135- > ( ...args : BuilderCanParametersWithFields < S , I , F | Keys < I > , T > ) : RuleBuilder < T >
135+ > ( ...args : BuilderCanParametersWithFields < S , I , F | Keys < I > , T > ) : RuleBuilder < T > ;
136136 cannot (
137137 action : string | string [ ] ,
138138 subject ?: SubjectType | SubjectType [ ] ,
0 commit comments