mobx
Version:
Simple, scalable state management.
9 lines (8 loc) • 505 B
TypeScript
export declare function assert20223DecoratorType(context: DecoratorContext, types: DecoratorContext["kind"][]): void;
/**
* The key under which the administration keeps a decorated member.
* `context.name` of a private member is only its description, like "#value". A class and its
* subclass can each declare a private member with that description, so every private member
* gets a key of its own.
*/
export declare function getDecoratedMemberKey(context: ClassMemberDecoratorContext): PropertyKey;