ClassPublicKeys

Easy
1
33.3% Acceptance

Implement the generic ClassPublicKeys<T> which returns all public keys of a class.

For example:

class A { public str: string protected num: number private bool: boolean getNum() { return Math.random() } } type publicKeys = ClassPublicKeys<A> // 'str' | 'getNum'