UNPKG

@gavant/ember-validations

Version:

A form validator library using ember-changeset and ember-changeset-validations

18 lines (17 loc) 568 B
/// <reference types="ember__component" /> /** * A wrapper/helper to get the value from an input event * * @export * @param {[(value: string) => void]} [fn] * @return {*} */ declare function eventValue([fn]: [(value: string) => void]): (event: InputEvent) => void; declare const _default: import("@ember/component/helper").FunctionBasedHelper<{ Args: { Positional: [(value: string) => void]; Named: import("@ember/component/helper").EmptyObject; }; Return: (event: InputEvent) => void; }>; export { _default as default, eventValue };