extensions/typescript-language-features/src/typescriptServiceClient.ts/TypeScriptServiceClient/toResource
class TypeScriptServiceClient:	public toResource(filepath: string): vscode.Uri {
		if (isWeb()) {
			// On web, the stdlib paths that TS return look like: '/lib.es2015.collection.d.ts'
			if (filepath.startsWith('/lib.') && filepath.endsWith('.d.ts')) {
				return vscode.Uri.joinPath(this.context.extensionUri, 'dist', 'browser', 'typescript', filepath.slice(1));
			}
		}

		if (filepath.startsWith(this.inMemoryResourcePrefix)) {
			const parts = filepath.match(/^\^\/([^\/]+)\/(.+)$/);
			if (parts) {
				const resource = vscode.Uri.parse(parts[1] + ':/' + parts[2]);
				return this.bufferSyncSupport.toVsCodeResource(resource);
			}
		}
		return this.bufferSyncSupport.toResource(filepath);
	}