@posthog/types
Version:
Type definitions for the PostHog JavaScript SDK
14 lines (12 loc) • 316 B
text/typescript
/**
* Survey types
*/
/**
* Represents the result of checking if a survey can be rendered.
*/
export interface SurveyRenderReason {
/** Whether the survey is visible/can be rendered */
visible: boolean
/** The reason why the survey cannot be rendered, if applicable */
disabledReason?: string
}