export type KeyofTyped<Target extends object, Type> = {
    [K in keyof Target]: Target[K] extends Type ? K & string : never;
}[keyof Target];
