2 lines
324 B
JavaScript
2 lines
324 B
JavaScript
import{d as n}from"./debounce.7822d733.js";import{aL as l}from"./entry.539d3b49.js";var g="Expected a function";function u(t,a,r){var i=!0,e=!0;if(typeof t!="function")throw new TypeError(g);return l(r)&&(i="leading"in r?!!r.leading:i,e="trailing"in r?!!r.trailing:e),n(t,a,{leading:i,maxWait:a,trailing:e})}export{u as t};
|