Skip to content

Commit

Permalink
fix(yi_jing_tong): proxy can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjue666 committed Aug 8, 2024
1 parent af1b8f6 commit 149963e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/yi_jing_tong/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export * from './state';
export class YiJingTong {
private config: YiJingTongConfig;

private proxy: string;
private proxy: string | undefined;

constructor(config: YiJingTongConfig, proxy: string) {
constructor(config: YiJingTongConfig, proxy?: string) {
this.config = config;
this.proxy = proxy;
}
Expand Down

0 comments on commit 149963e

Please sign in to comment.