You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please follow the template and fill the info. A PR will be auto-generated and always reflect on your changes.
Detailed solution/guide is not required, but please be sure the challenge is solvable.
Info
Basic info of your challenge questions,
difficulty: hard # medium / hard / extremetitle: key_type from propstags: object-keys
Question
Implement type that extracts key and type both from object props. More details please refer to test cases.
Template
This is the template for challengers to start the coding. Basically, you just need to change the name of your generic/function and leave to implementation any.
typeKeyTypeFromProps<T>=any
Test Cases
Provide some test cases for your challenge, you can use some utils from @type-challenges/utils for asserting.
Info
Basic info of your challenge questions,
Question
Implement type that extracts key and type both from object props. More details please refer to test cases.
Template
This is the template for challengers to start the coding. Basically, you just need to change the name of your generic/function and leave to implementation
any
.Test Cases
Provide some test cases for your challenge, you can use some utils from
@type-challenges/utils
for asserting.The text was updated successfully, but these errors were encountered: