Created
May 2, 2022 22:35
-
-
Save MichaelrMentele/7a061535729aefd33b0d49aff6249a15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/services/floorPlans/floorPlans.ts:27:9 - error TS2322: Type 'CurtailmentCreateNestedManyWithoutFloorPlanInput' is not assignable to type '(Without<CurtailmentCreateWithoutFloorPlanInput, CurtailmentUncheckedCreateWithoutFloorPlanInput> & CurtailmentUncheckedCreateWithoutFloorPlanInput) | ... 6 more ... | (Without<...> & CurtailmentCreateWithoutFloorPlanInput[])'. | |
27 create: input.curtailments, | |
~~~~~~ | |
../node_modules/.prisma/client/index.d.ts:10597:5 | |
10597 create?: XOR<Enumerable<CurtailmentCreateWithoutFloorPlanInput>, Enumerable<CurtailmentUncheckedCreateWithoutFloorPlanInput>> | |
~~~~~~ | |
The expected type comes from property 'create' which is declared here on type 'CurtailmentUncheckedCreateNestedManyWithoutFloorPlanInput | CurtailmentCreateNestedManyWithoutFloorPlanInput' | |
src/services/floorPlans/floorPlans.ts:30:9 - error TS2322: Type 'FloorPlanFeeCreateNestedManyWithoutFloorPlanInput' is not assignable to type '(Without<FloorPlanFeeCreateWithoutFloorPlanInput, FloorPlanFeeUncheckedCreateWithoutFloorPlanInput> & FloorPlanFeeUncheckedCreateWithoutFloorPlanInput) | ... 6 more ... | (Without<...> & FloorPlanFeeCreateWithoutFloorPlanInput[])'. | |
30 create: input.floorPlanFees, | |
~~~~~~ | |
../node_modules/.prisma/client/index.d.ts:10590:5 | |
10590 create?: XOR<Enumerable<FloorPlanFeeCreateWithoutFloorPlanInput>, Enumerable<FloorPlanFeeUncheckedCreateWithoutFloorPlanInput>> | |
~~~~~~ | |
The expected type comes from property 'create' which is declared here on type 'FloorPlanFeeUncheckedCreateNestedManyWithoutFloorPlanInput | FloorPlanFeeCreateNestedManyWithoutFloorPlanInput' | |
Found 2 errors in the same file, starting at: src/services/floorPlans/floorPlans.ts:27 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment