У меня есть интерфейс для подробного ввода значения:
input DocumentDetailInput {
vat: Float!
isSaleWithPrescription: Boolean!
valueCountRound: Float!
paymentType: String!
exportNoBill: Boolean!
}
Затем я хочу добавить только 2 значения:
detail: {
vat: input.vat,
exportNoBill: input.exportNobill
},
Ошибка:
is missing the following properties from type 'DocumentDetail': valueCountRound, isSaleWithPrescription, paymentType.ts(2740)