UNPKG

@flex-development/tutils

Version:
16 lines (15 loc) 484 B
/** * @file Type Definitions - PathNT * @module tutils/types/PathNT */ import type ObjectPlain from './object-plain.cjs'; import type PathN from './path-n.cjs'; /** * Constructs a union type of nested and top level properties of `T`. * * @see https://github.com/ghoullier/awesome-template-literal-types#dot-notation-string-type-safe * * @template T - Object type */ declare type PathNT<T extends ObjectPlain> = PathN<T, keyof T> | keyof T; export { type PathNT as default };