diff --git a/src/types.ts b/src/types.ts index cf427cf..bfb367f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -140,7 +140,7 @@ export interface PortType { export type PortTypeMap = { [portType: string]: PortType }; -export type PortTypeBuilder = (config: Partial) => PortType; +export type PortTypeBuilder = (config?: Partial) => PortType; export interface PortTypeConfig extends Partial { type: string;