variable once import { once } from "main.ts"; Type <T extends unknown[], S>(f: (...args: T) => S) => ((...args: T) => S)