export type Creator = () => T export type CreatorP = () => Promise