diff options
| author | 迷渡 <justjavac@gmail.com> | 2019-06-11 11:55:38 +0800 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-06-10 23:55:38 -0400 |
| commit | 0efb7c2ab7b9705a9f5f177b4dc170c1abbd97ed (patch) | |
| tree | 8514af15b9ccc1e5c191845ac94521b49cd7bfdc /js/url.ts | |
| parent | 523ab6a929dacf4cdd692c1319173a1a49c642de (diff) | |
fix bug in URL (#2495)
Diffstat (limited to 'js/url.ts')
| -rw-r--r-- | js/url.ts | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -80,6 +80,10 @@ export class URL { /* eslint-enable */ } this._searchParams = searchParams; + + // convert to `any` that has avoided the private limit + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (this._searchParams as any).url = this; } get hash(): string { |
