extensions/typescript-language-features/src/typescriptServiceClient.ts/TypeScriptServiceClient/toResource
class TypeScriptServiceClient:	public toResource(filepath: string): vscode.Uri {
		if (isWeb()) {
			// On web, treat absolute paths as pointing to standard lib files
			if (filepath.startsWith('/')) {
				return vscode.Uri.joinPath(this.context.extensionUri, 'dist', 'browser', 'typescript', filepath.slice(1));
			}
		}

		if (filepath.startsWith(this.inMemoryResourcePrefix)) {
			const resource = vscode.Uri.parse(filepath.slice(1));
			return this.bufferSyncSupport.toVsCodeResource(resource);
		}
		return this.bufferSyncSupport.toResource(filepath);
	}