Skip to content

Commit

Permalink
fix(types): ensure ForceSubject generic parameter is preserved in r…
Browse files Browse the repository at this point in the history
…esulting d.ts files
  • Loading branch information
stalniy committed Dec 19, 2020
1 parent dcb7254 commit e97e5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/casl-ability/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export type InferSubjects<T, IncludeTagName extends boolean = false> =
);

export declare abstract class ForcedSubject<T> {
private readonly __caslSubjectType__: T;
protected readonly __caslSubjectType__: T;
}

export type TaggedInterface<T extends string> = ForcedSubject<T> |
Expand Down

0 comments on commit e97e5fe

Please sign in to comment.