@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
11 lines • 498 B
text/typescript
//#region src/utils/reflection/GetterDescriptor.d.ts
/**
* A type for casting a property descriptor to a getter descriptor.\
* Cast to this only after checking `typeof propertyDescriptor.get === 'function`
* @template [T=unknown] The type of the property.
* @since 4.0.0
*/
type GetterDescriptor<T = unknown> = Omit<TypedPropertyDescriptor<T>, 'get'> & Required<Pick<TypedPropertyDescriptor<T>, 'get'>>;
//#endregion
export { GetterDescriptor };
//# sourceMappingURL=GetterDescriptor.d.mts.map