File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
packages/shared/src/react/hooks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export type UseSubscriptionParams = {
3535 */ 
3636export  type  UseSubscriptionReturn  =  { 
3737  /** 
38-    * The subscription object, or `null` if  the data hasn't been loaded yet . 
38+    * The subscription object, `undefined` before  the first fetch, or `null` if no subscription exists . 
3939   */ 
4040  data : BillingSubscriptionResource  |  null  |  undefined ; 
4141  /** 
@@ -47,9 +47,9 @@ export type UseSubscriptionReturn = {
4747   */ 
4848  isFetching : boolean ; 
4949  /** 
50-    * Any error that occurred during the data fetch, or `null ` if no error occurred. 
50+    * Any error that occurred during the data fetch, or `undefined ` if no error occurred. 
5151   */ 
52-   error : Error  |  null ; 
52+   error : Error  |  undefined ; 
5353  /** 
5454   * Function to manually trigger a refresh of the subscription data. 
5555   */ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments