Skip to content

Commit ce7f6da

Browse files
committed
wip
1 parent 91596a7 commit ce7f6da

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/browser/src/tester/ajs-tester.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ function makeStub(page: playwright.Page) {
2424
async track(
2525
...args: Parameters<Analytics['track']>
2626
): Promise<SerializedContext> {
27-
// @ts-expect-error
2827
const ctx = await page.evaluate((innerArgs) => {
2928
// @ts-ignore
3029
return window.analytics.track(...innerArgs).then((ctx) => {

packages/core/src/events/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type EventProperties = Record<string, any>
2323

2424
export type IntegrationsOptions = {
2525
All?: boolean | undefined
26-
[integration: string]: boolean | Record<string, any> | undefined
26+
[integrationName: string]: boolean | Record<string, unknown> | undefined
2727
}
2828

2929
export interface CoreOptions {

packages/core/src/queue/event-queue.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ON_REMOVE_FROM_FUTURE, PriorityQueue } from '../priority-queue'
44

55
import { CoreContext, ContextCancelation } from '../context'
66
import { Emitter } from '@segment/analytics-generic-utils'
7-
import { IntegrationsOptions, JSONObject } from '../events/interfaces'
7+
import { IntegrationsOptions } from '../events/interfaces'
88
import { CorePlugin } from '../plugins'
99
import { createTaskGroup, TaskGroup } from '../task/task-group'
1010
import { attempt, ensure } from './delivery'
@@ -240,7 +240,8 @@ export abstract class CoreEventQueue<
240240
return true
241241
}
242242

243-
let alternativeNameMatch: boolean | JSONObject | undefined = undefined
243+
let alternativeNameMatch: boolean | Record<string, unknown> | undefined =
244+
undefined
244245
p.alternativeNames?.forEach((name) => {
245246
if (denyList[name] !== undefined) {
246247
alternativeNameMatch = denyList[name]

0 commit comments

Comments
 (0)