import { BrowserNativeObject, NestedPaths, Primitive } from '.'; export type Paths = T extends Primitive | BrowserNativeObject ? K : K | `${K extends '' ? '' : `${K}.`}${NestedPaths}`;