[Typescript] Using 'Pick' to create a sub-type from original type

NoSuchKey