提交 fc1c69cc 编写于 作者: J Johannes Rieken

strict null trouble

上级 64f715b1
...@@ -169,7 +169,7 @@ export class URI implements UriComponents { ...@@ -169,7 +169,7 @@ export class URI implements UriComponents {
/** /**
* @internal * @internal
*/ */
protected constructor(schemeOrData: string | UriComponents, authority?: string, path?: string, query?: string, fragment?: string, _strict?: boolean) { protected constructor(schemeOrData: string | UriComponents, authority?: string, path?: string, query?: string, fragment?: string, _strict: boolean = false) {
if (typeof schemeOrData === 'object') { if (typeof schemeOrData === 'object') {
this.scheme = schemeOrData.scheme || _empty; this.scheme = schemeOrData.scheme || _empty;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册