Skip to content

Commit

Permalink
Declaration update: Optional ParamTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
RNEvok committed Mar 6, 2024
1 parent a85f273 commit f1186fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ declare module '@appklaar/codebud' {

type InstructionPrototype = "login" | "logout";

type ParamType = "number" | "string" | "object" | "array" | "boolean";
type BaseParamType = "number" | "string" | "object" | "array" | "boolean";
type OptionalParamType = `?${BaseParamType}`;
type ParamType = BaseParamType | OptionalParamType;

type InstructionPublicFields = {
id: string;
Expand Down

0 comments on commit f1186fa

Please sign in to comment.