Skip to content

Commit

Permalink
fix: Remove baseUrl from TypeScript compiler options (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
haines authored Feb 5, 2024
1 parent 54c8a97 commit 6fb4a04
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/autocapture-utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AutocaptureConfig, Properties } from 'types'
import { AutocaptureConfig, Properties } from './types'
import { _each, _entries, _includes, _trim } from './utils'

import { _isArray, _isNull, _isString, _isUndefined } from './utils/type-utils'
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/surveys.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PostHog } from 'posthog-core'
import { PostHog } from '../posthog-core'
import { Survey, SurveyType } from '../posthog-surveys-types'
import { SurveysWidget } from './surveys-widget'

Expand Down
4 changes: 2 additions & 2 deletions src/extensions/surveys/surveys-utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PostHog } from 'posthog-core'
import { PostHog } from '../../posthog-core'
import {
BasicSurveyQuestion,
LinkSurveyQuestion,
Expand Down Expand Up @@ -68,7 +68,7 @@ export const style = (id: string, appearance: SurveyAppearance | null) => {
padding-top: 10px;
border-radius: 6px;
border-color: ${appearance?.borderColor || '#c9c6c6'};
margin-top: 14px;
margin-top: 14px;
}
.form-submit {
box-sizing: border-box;
Expand Down
2 changes: 1 addition & 1 deletion src/rate-limiter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MinimalHTTPResponse } from 'types'
import { MinimalHTTPResponse } from './types'
import { logger } from './utils/logger'

const oneMinuteInMilliseconds = 60 * 1000
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./lib",
"target": "ES5",
"lib": ["dom", "dom.iterable", "esnext"],
Expand Down

0 comments on commit 6fb4a04

Please sign in to comment.