Skip to main content

emptyFunction

Empty Function Placeholder. Avoids having to comment empty function declarations with an eslint-disable-next instruction

API

const emptyFunction: () => void;

Usage

import { emptyFunction } from '@feedzai/js-utilities';

const DEFAULT_PROPS = {
onClick: emptyFunction,
}