type JSONValue = null | boolean | number | string | JSONValue[] | { [key: string]: JSONValue };
type Fn = (...args: JSONValue[]) => void
function cancellable(fn: Fn, args: JSONValue[], t: number): Function {
let id = setTimeout(() => fn(...args), t);
// cancel delay
Android material macro
https://stackoverflow.com/help/minimal-reproducible-example
add the `package.json` file to your question.
NewerOlder