iamclaytonray
04/23/2018, 11:25 PMsrc/generated/prisma.ts(7272,10): error TS2416: Property 'query' in type 'Prisma' is not assignable to the same property in base type 'Prisma'.
Type 'Query' is not assignable to type 'QueryMap'.
Index signature is missing in type 'Query'.
src/generated/prisma.ts(7308,10): error TS2416: Property 'mutation' in type 'Prisma' is not assignable to the same property in base type 'Prisma'.
Type 'Mutation' is not assignable to type 'QueryMap'.
Index signature is missing in type 'Mutation'.
src/generated/prisma.ts(7374,10): error TS2416: Property 'subscription' in type 'Prisma' is not assignable to the same property in base type 'Prisma'.
Type 'Subscription' is not assignable to type 'SubscriptionMap'.
Index signature is missing in type 'Subscription'.
nilan
04/24/2018, 7:49 AMiamclaytonray
04/24/2018, 3:50 PMprisma deploy
iamclaytonray
04/24/2018, 3:51 PMMutation
, Query
, and Subscription
nilan
04/24/2018, 3:52 PMprisma deploy
? 🙂 Can you reproduce this with any datamodel? Do you have special typescript settings in your project?iamclaytonray
04/24/2018, 3:53 PM{
"compilerOptions": {
"allowJs": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"outDir": "build",
"module": "commonjs",
"moduleResolution": "node",
"lib": [
"es5",
"es6",
"dom",
"es2015.core",
"es2015.collection",
"es2015.generator",
"es2015.iterable",
"es2015.promise",
"es2015.proxy",
"es2015.reflect",
"es2015.symbol",
"es2015.symbol.wellknown",
"esnext.asynciterable"
],
"target": "es6",
"sourceMap": false,
"noImplicitAny": false,
"noImplicitReturns": false,
"noImplicitThis": false,
"noUnusedParameters": false,
"removeComments": true
},
"include": [
"src"
],
"exclude": [
"node_modules",
"build",
"jest",
"scripts",
"__tests__",
"**/*.spec.ts"
]
}
nilan
04/24/2018, 3:54 PMprisma
CLI or the prisma-ts
generator for the Prisma binding.nilan
04/24/2018, 3:54 PMiamclaytonray
04/24/2018, 3:55 PMiamclaytonray
04/24/2018, 3:58 PMnilan
04/24/2018, 4:00 PMiamclaytonray
04/24/2018, 4:01 PMiamclaytonray
04/24/2018, 4:24 PMiamclaytonray
04/24/2018, 4:25 PMtsconfig
into my project’s tsconfig
and still had the same errorsiamclaytonray
04/24/2018, 4:25 PMgenerated/prisma.ts
file and remove types from the 3 I mentioned abovenilan
04/24/2018, 4:31 PMprisma-binding
?nilan
04/24/2018, 4:31 PMiamclaytonray
04/24/2018, 4:55 PMharrisrobin
06/07/2018, 8:51 PMharrisrobin
06/07/2018, 8:53 PM