Skip to content

Commit

Permalink
fix: fix type for https only for listener instead of options
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 20, 2022
1 parent d7ffa58 commit 59a2c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface ListenOptions {
showURL: boolean
baseURL: string
open: boolean
https: false | HTTPSOptions
https: boolean | HTTPSOptions
clipboard: boolean
isTest: Boolean
isProd: Boolean
Expand All @@ -46,7 +46,7 @@ export interface Listener {
url: string,
address: { },
server: Server | HTTPServer,
https: boolean | Certificate,
https: false | Certificate,
close: () => Promise<void>,
open: () => Promise<void>,
showURL: (options?: Pick<ListenOptions, 'baseURL'>) => void
Expand Down

0 comments on commit 59a2c76

Please sign in to comment.