Skip to content

Commit

Permalink
fix: compile issues when typescript detect accepted types as array of…
Browse files Browse the repository at this point in the history
… classes that inherit from KalturaObjectBase
  • Loading branch information
eransakal committed Aug 14, 2017
1 parent 92b6a36 commit efe50aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kaltura-request-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { KalturaBaseResponseProfile } from './types/KalturaBaseResponseProfile';
import { KalturaObjectBase, KalturaObjectBaseArgs } from './kaltura-object-base';

export interface KalturaRequestBaseArgs extends KalturaObjectBaseArgs {
acceptedTypes? : KalturaObjectBase[];
acceptedTypes? : {new(...args) : KalturaObjectBase}[];
partnerId? : number;
ks? : string;
responseProfile? : KalturaBaseResponseProfile;
Expand All @@ -13,7 +13,7 @@ export interface KalturaRequestBaseArgs extends KalturaObjectBaseArgs {

export class KalturaRequestBase extends KalturaObjectBase {

acceptedTypes : KalturaObjectBase[];
acceptedTypes : {new(...args) : KalturaObjectBase}[];
partnerId : number;
ks : string;
responseProfile : KalturaBaseResponseProfile;
Expand Down

0 comments on commit efe50aa

Please sign in to comment.