File size: 335 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import type { IAppState } from 'calypso/state/types';

import 'calypso/state/billing-transactions/init';

/**
 * Returns all billing transactions.
 * Returns null if the billing transactions have not been fetched yet.
 */
export default function getBillingTransactions( state: IAppState ) {
	return state.billingTransactions?.items;
}