diff --git a/src/vs/base/common/uri.ts b/src/vs/base/common/uri.ts index 8111602efc5..55a39c0f372 100644 --- a/src/vs/base/common/uri.ts +++ b/src/vs/base/common/uri.ts @@ -108,7 +108,7 @@ export class URI implements UriComponents { && typeof (thing).path === 'string' && typeof (thing).query === 'string' && typeof (thing).scheme === 'string' - && typeof (thing).fsPath === 'function' + && typeof (thing).fsPath === 'string' && typeof (thing).with === 'function' && typeof (thing).toString === 'function'; }