Skip to content

Commit

Permalink
Type function args
Browse files Browse the repository at this point in the history
  • Loading branch information
thecalcc committed Dec 11, 2024
1 parent ccc803a commit 5abbdc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/planning-editor-standalone/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface IFieldDefinition {
fieldId: string;
getField: (options: {required: boolean, id: string}) => IAuthoringFieldV2;
storageAdapter?: {
storeValue: <T extends IEventOrPlanningItem>(item, operationalValue) => T; // returns stored value
storeValue: <T extends IEventOrPlanningItem>(item: T, operationalValue: unknown) => T; // returns stored value
retrieveStoredValue:
<T extends IEventOrPlanningItem>(item: T, fieldId: string) => unknown; // returns operational value
};
Expand Down

0 comments on commit 5abbdc9

Please sign in to comment.