Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 308 Bytes
import useSparingly from './useSparingly';
console.log(useSparingly());
console.log(useSparingly());
console.log(useSparingly());
console.log(useSparingly());
// the current rule is configured for only four calls, the fifth call
// of this function will trigger a tslint error
console.log(useSparingly());
You can’t perform that action at this time.