MyPartial

Medium

Implement your own version of Partial.

Examples:

Input 1: type MyPartial<User>
Output 1: { id?: number }
Output
Run your code to see results.

By continuing to use the platform, you accept the terms of the Privacy Policy and the use of cookies.