Skip to content

Commit

Permalink
fix(surveys): Publish types in module (#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkakkar authored Oct 27, 2023
1 parent bd765aa commit 991355f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/loader-module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { init_as_module } from './posthog-core'
export { PostHog } from './posthog-core'
export * from './types'
export * from './posthog-surveys-types'
export const posthog = init_as_module()
export default posthog
3 changes: 0 additions & 3 deletions src/posthog-surveys-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ export interface SurveyAppearance {

export enum SurveyType {
Popover = 'popover',
Button = 'button',
FullScreen = 'full_screen',
Email = 'email',
API = 'api',
}

Expand Down

0 comments on commit 991355f

Please sign in to comment.