export const debounce = (f, ms) => {
    let timeoutId = undefined;
    return (...args) => {
        window.clearTimeout(timeoutId);
        timeoutId = window.setTimeout(() => {
            f.apply(null, args);
        }, ms);
    };
};
//# sourceMappingURL=action.js.map