How to fix Parameter decorator cannot use 'readonly' modifier in TypeScript | DevErrors