Skip to content

Commit

Permalink
default unknown generic for AiplComponentContextConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjosephtaylor committed Sep 9, 2024
1 parent 498bc4f commit 24e5a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aipl-components/AiplComponentContextState.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import type { TypeInfo } from "@mjtdev/engine";
import type { AiplClient } from "../client/AiplClients";

export type AiplComponentContextConfig<T extends object = object> = {
export type AiplComponentContextConfig<T = unknown> = {
papId?: string;
homeUrl?: string;
typeInfo?: TypeInfo<T>;
};

export type AiplComponentContextState<T extends object = object> =
export type AiplComponentContextState<T = unknown> =
AiplComponentContextConfig<T> & {
client?: AiplClient;
componentState: Record<string, string | string[]>;
Expand Down

0 comments on commit 24e5a73

Please sign in to comment.