UNPKG

@halospv3/hce.shared-config

Version:

Automate commit message quality, changelogs, and CI/CD releases. Its `main` entry point is a Semantic Release config. Functions and classes are exposed for customization. An ESLint config, a Commitlint config, and addl. resources for .NET projects are als

17 lines 1.06 kB
import { GetterDescriptor } from "./GetterDescriptor.mjs"; import { OwnKeyOf } from "./OwnKeyOf.mjs"; //#region src/utils/reflection/OwnGetterDescriptorMap.d.ts /** * # !WARNING! * > This does _not_ filter out non-getter properties! ALL properties are treated as getters. Because `get` is optional and present on all property descriptors, this type should only be used to cast properties for which `typeof p.get === 'function'`. * * A {@link GetterDescriptorMap} variant for omitting keys inherited from {@link __proto__}. * Note: If `T` is `InstanceOf<class>`, then `__proto__` must be `InstanceTypeOrSelf<__proto__>` * @template T The type the descriptor map describes. * @template __proto__ The `[[Prototype]]` of {@link T}. Keys of {@link __proto__} are omitted from the descriptor map type. * @since 3.0.0 */ type OwnGetterDescriptorMap<T, __prototype__ extends object | null> = { [P in OwnKeyOf<T, __prototype__>]: GetterDescriptor<T[P]>; }; //#endregion export { OwnGetterDescriptorMap }; //# sourceMappingURL=OwnGetterDescriptorMap.d.mts.map