@rws-air/utils
Version:
Utilities for rws-air libraries and applications
13 lines • 486 B
TypeScript
import { KeyedObject } from '../MergeObjects';
/**
* Creates a dummy event
* @param value Value to put on the target, used for click/change events
* @param additionalData Any additional data to put into the event
* @remark `additionalData` is merged using `mergeObject` so deep merging is possible
*/
export declare const createEvent: <T>(value: T, additionalData?: KeyedObject) => {
target: {
value: T;
};
} & KeyedObject;
//# sourceMappingURL=CreateEvent.d.ts.map