Skip to content

Commit

Permalink
port type builder config is now optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Patty committed May 13, 2022
1 parent 7785667 commit 032eb1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export interface PortType {

export type PortTypeMap = { [portType: string]: PortType };

export type PortTypeBuilder = (config: Partial<PortType>) => PortType;
export type PortTypeBuilder = (config?: Partial<PortType>) => PortType;

export interface PortTypeConfig extends Partial<PortType> {
type: string;
Expand Down

0 comments on commit 032eb1e

Please sign in to comment.