packages/typescript-to-proptypes/src/types/propTypeDefinition.ts/createPropTypeDefinition
export function createPropTypeDefinition(
  name: string,
  jsDoc: string | undefined,
  propType: PropType,
  filenames: Set<string>,
  id: number | undefined,
): PropTypeDefinition {
  return {
    name,
    jsDoc,
    propType,
    filenames,
    $$id: id,
  };
}