You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportconstafter=<P,Fextends(...args: any[])=>P>(n: number,func: F): F=>{if(!Number.isInteger(n)||n<1){thrownewError(`n must be an integer greater than or equal to one.`);}letcounter=1;return((...args: Parameters<F>)=>{if(counter>=n){returnfunc(...args);}counter++;})asF;};
If it looks good, I proceed with enhancing the documentation and test and then I submit a pull request!
As I mentioned in #153, I will proceed with the
after
:) @raon0211!The text was updated successfully, but these errors were encountered: