From e97e5fe012e48553ae61a42f8c8240506056afed Mon Sep 17 00:00:00 2001 From: Sergii Date: Sat, 19 Dec 2020 12:46:12 +0200 Subject: [PATCH] fix(types): ensure `ForceSubject` generic parameter is preserved in resulting d.ts files --- packages/casl-ability/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/casl-ability/src/types.ts b/packages/casl-ability/src/types.ts index 63f1b3540..bc62ee17a 100644 --- a/packages/casl-ability/src/types.ts +++ b/packages/casl-ability/src/types.ts @@ -55,7 +55,7 @@ export type InferSubjects = ); export declare abstract class ForcedSubject { - private readonly __caslSubjectType__: T; + protected readonly __caslSubjectType__: T; } export type TaggedInterface = ForcedSubject |