Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/core/src/posthog-core-stateless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,10 @@ export abstract class PostHogCoreStateless {
},
}
}


/**
* @internal
*/
public addPendingPromise<T>(promise: Promise<T>): Promise<T> {
return this.promiseQueue.add(promise)
}
Expand Down
10 changes: 9 additions & 1 deletion packages/node/api-extractor.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
*
* "bundledPackages": [ "@my-company/*" ],
*/
"bundledPackages": [],
"bundledPackages": ["@posthog/core"],

/**
* Specifies what type of newlines API Extractor should use when writing output files. By default, the output files
Expand Down Expand Up @@ -111,6 +111,14 @@
* DEFAULT VALUE: "<projectFolder>/tsconfig.json"
*/
"tsconfigFilePath": "<projectFolder>/tsconfig.build.json",
/**
* Include DOM lib so bundled @posthog/core types (e.g. ErrorEvent) resolve when inlining.
*/
"overrideTsconfig": {
"compilerOptions": {
"lib": ["ES2023", "DOM"]
}
},
/**
* Provides a compiler configuration that will be used instead of reading the tsconfig.json file from disk.
* The object must conform to the TypeScript tsconfig schema:
Expand Down
Loading