import { PropTypes } from 'react';

const CardPropTypes = {
  id: PropTypes.number,
  name: PropTypes.string,
  type: PropTypes.string,
  colour: PropTypes.string,
  manaCost: PropTypes.string,
  numberCopies: PropTypes.number,
  rarity: PropTypes.string,
};

export {
  CardPropTypes,
};

@@ -109,18 +109,37 @@
 ,%0A  type
+s
 : 
+PropTypes.arrayOf(
 PropType
@@ -142,24 +142,25 @@
 Types.string
+)
 ,%0A  colour: 

Change Card proptypes accordingly to backend data