File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55'use strict' ;
66
77import * as paths from 'vs/base/common/paths' ;
8- import URI from 'vs/base/common/uri' ;
8+ import { URI } from 'vs/base/common/uri' ;
99import { equalsIgnoreCase } from 'vs/base/common/strings' ;
1010import { Schemas } from 'vs/base/common/network' ;
1111import { isLinux , isWindows } from 'vs/base/common/platform' ;
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ const _regexp = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;
8282 * / \ / \
8383 * urn:example:animal:ferret:nose
8484 */
85- export default class URI implements UriComponents {
85+ export class URI implements UriComponents {
8686
8787 static isUri ( thing : any ) : thing is URI {
8888 if ( thing instanceof URI ) {
@@ -355,6 +355,8 @@ export default class URI implements UriComponents {
355355 }
356356}
357357
358+ export default URI ;
359+
358360export interface UriComponents {
359361 scheme : string ;
360362 authority : string ;
You can’t perform that action at this time.
0 commit comments