Skip to content

Commit

Permalink
Drop public prop DependsOnMethod::endpoints (#1540)
Browse files Browse the repository at this point in the history
Due to #1539
  • Loading branch information
RobinTail authored Feb 3, 2024
1 parent 43e99cd commit f00634a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/depends-on-method.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ export class DependsOnMethod {
public readonly firstEndpoint: AbstractEndpoint | undefined;
public readonly siblingMethods: Method[];

constructor(
/**
* @deprecated use pairs instead
* @todo remove from public in v17
* */
public readonly endpoints: Partial<Record<Method, AbstractEndpoint>>,
) {
constructor(endpoints: Partial<Record<Method, AbstractEndpoint>>) {
this.pairs = toPairs(endpoints).filter(
(pair): pair is [Method, AbstractEndpoint] =>
pair !== undefined && pair[1] !== undefined,
Expand Down

0 comments on commit f00634a

Please sign in to comment.