Skip to content

Commit

Permalink
AnyFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkirtzel committed Nov 20, 2024
1 parent 6356bf3 commit bc6f7a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/connectors/datalayer/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ declare global {

export type DataLayer = Array<unknown>;
export interface Config {
elb: WalkerOS.Elb;
elb: WalkerOS.Elb | WalkerOS.AnyFunction;
dataLayer: DataLayer;
mapping?: Mapping;
name?: string;
Expand Down
1 change: 1 addition & 0 deletions packages/types/src/walkeros.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { Destination, Hooks } from '.';

export type AnyObject = Record<string, unknown>;
export type AnyFunction = (...args: unknown[]) => unknown;
export type SingleOrArray<T> = T | Array<T>;

export interface Instance extends State {
Expand Down

0 comments on commit bc6f7a7

Please sign in to comment.