Taiwan Semiconductor Manufacturing Co. posted monthly revenue that suggested June-quarter sales surpassed analysts’ estimates, underscoring how its technological lead is helping the chipmaker weather the pandemic and U.S. curbs on No. 2 customer Huawei Technologies Co.

Apple Inc.’s main iPhone chipmaker reported sales of NT$120.88 billion ($4.1 billion) for June on Friday. That likely means TSMC’s revenue grew about 29% to NT$310.7 billion last quarter, based on previously reported figures, beating the NT$308.8 billion analysts expect on average.

TSMC, a barometer for the industry thanks to its heft in the global supply chain, had previously lowered its 2020 revenue outlook to reflect potentially the biggest global economic crisis since the Great Depression. But it said at the time it still expects robust demand for the semiconductors in datacenters hosting an unprecedented surge in online activity during the pandemic. Executives forecast revenue growth of about 30% in the June quarter while sticking to a goal of $15 billion to $16 billion for capital spending in 2020, up from last year’s $14.9 billion.