export type NonFunction = T extends (...args) => any ? never : T