Skip to content

Commit

Permalink
fix(types): Relative import to fix typescript compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkakkar committed Sep 26, 2023
1 parent a75b564 commit 6203e96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/posthog-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import { ExceptionObserver } from './extensions/exceptions/exception-autocapture
import { PostHogSurveys } from './posthog-surveys'
import { RateLimiter } from './rate-limiter'
import { uuidv7 } from './uuidv7'
import { SurveyCallback } from 'posthog-surveys-types'
import { SurveyCallback } from './posthog-surveys-types'

/*
SIMPLE STYLE GUIDE:
Expand Down
2 changes: 1 addition & 1 deletion src/posthog-surveys.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PostHog } from './posthog-core'
import { SURVEYS } from './constants'
import { SurveyCallback } from 'posthog-surveys-types'
import { SurveyCallback } from './posthog-surveys-types'

export class PostHogSurveys {
instance: PostHog
Expand Down

0 comments on commit 6203e96

Please sign in to comment.