Subset of the Secure Fields instance this module needs — real or mocked.
Declared structurally rather than as Pick<SecureFields, …>: any reference
to the SDK's own type from an exported declaration makes tsup emit
import { SecureFields } from '@gr4vy/secure-fields' into
dist/index.d.ts, and that package's exports map carries no types
condition — so a consumer on moduleResolution: bundler gets TS7016 under
skipLibCheck: false, or silently degrades the member to any under
skipLibCheck: true (the Next default). The paths override in this
package's tsconfig repairs our own compile only; it does not ship.
Members use method syntax deliberately: TypeScript checks method parameters
bivariantly, so the real class's narrower CombinedEvents event parameter
stays assignable to the string declared here.
Subset of the Secure Fields instance this module needs — real or mocked.
Declared structurally rather than as
Pick<SecureFields, …>: any reference to the SDK's own type from an exported declaration makes tsup emitimport { SecureFields } from '@gr4vy/secure-fields'intodist/index.d.ts, and that package'sexportsmap carries notypescondition — so a consumer onmoduleResolution: bundlergets TS7016 underskipLibCheck: false, or silently degrades the member toanyunderskipLibCheck: true(the Next default). Thepathsoverride in this package's tsconfig repairs our own compile only; it does not ship.Members use method syntax deliberately: TypeScript checks method parameters bivariantly, so the real class's narrower
CombinedEventsevent parameter stays assignable to thestringdeclared here.