ClassPublicKeys hard #utils

by jiangshan @jiangshanmeta

Take the Challenge

Implement the generic `ClassPublicKeys` which returns all public keys of a class. For example: ```ts class A { public str: string protected num: number private bool: boolean getNum() { return Math.random() } } type publicKeys = ClassPublicKeys // 'str' | 'getNum' ```
Back Share your Solutions Check out Solutions