'use strict' ; import * as vscode from 'vscode' ; import { resolveExtensionFile } from './util' ; export class ResourceResolver { constructor ( private readonly context , private readonly webview ) { } resolve ( ... segments ) { return this . webview . asWebviewUri ( resolveExtensionFile ( ... segments ) ) . toString ( ) ; } }