Skip to content

Commit

Permalink
Mark port optional
Browse files Browse the repository at this point in the history
It was accidentally marked required. Code already assumes it's optional.
  • Loading branch information
balloob authored Oct 30, 2023
1 parent 6516f92 commit e56f37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface FlashOptions {

export interface LoaderOptions {
transport: Transport;
port: SerialPort;
port?: SerialPort;
baudrate: number;
terminal?: IEspLoaderTerminal;
romBaudrate: number;
Expand Down

0 comments on commit e56f37d

Please sign in to comment.