Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Sep 16, 2024
1 parent 7ab3134 commit e124960
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ import { SurveyManager } from '../extensions/surveys'
// eslint-disable-next-line no-restricted-globals
const win: (Window & typeof globalThis) | undefined = typeof window !== 'undefined' ? window : undefined

/**
* This is our contract between (potentially) lazily loaded extensions and the SDK
* changes to this interface can be breaking changes for users of the SDK
*/
interface PosthogExtensions {
parseErrorAsProperties?: ([event, source, lineno, colno, error]: ErrorEventArgs) => ErrorProperties
errorWrappingFunctions?: {
Expand Down

0 comments on commit e124960

Please sign in to comment.