Skip to content

Commit

Permalink
chore: cleanup (#4874)
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jan 4, 2021
1 parent f711c0d commit 82a7bf5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 36 deletions.
29 changes: 1 addition & 28 deletions src/packages/client/fixtures/blog/main.ts
@@ -1,4 +1,4 @@
import { Prisma, PrismaClient } from './@prisma/client'
import { PrismaClient } from './@prisma/client'

const prisma = new PrismaClient({
log: [
Expand All @@ -14,14 +14,6 @@ async function main() {
console.log({ q })
})

// await prisma.user.create({
// data: {
// email: 'a2@a.de',
// age: 9,
// name: 'bob',
// },
// })

const res = await prisma.user.groupBy({
by: ['age', 'email'],
avg: {
Expand All @@ -34,8 +26,6 @@ async function main() {
{
email: '',
name: {
// contains: '',
// avg: {}
min: {},
},
age: {
Expand All @@ -56,23 +46,6 @@ async function main() {
},
})

type A = [1, 2, 3]
type B = {
a: 1
}
type C = 1
type D = ''

type IsObject<T extends any> = T extends Array<any>
? 0
: T extends object
? 1
: 0

type Ya = IsObject<D>

// res.AND.NOT.

console.log(res)

prisma.$disconnect()
Expand Down
1 change: 0 additions & 1 deletion src/packages/client/package.json
Expand Up @@ -113,7 +113,6 @@
"strip-indent": "3.0.0",
"ts-jest": "26.4.4",
"ts-node": "9.1.1",
"ts-toolbelt": "^8.0.7",
"tsd": "0.14.0",
"typescript": "4.1.3"
},
Expand Down
8 changes: 1 addition & 7 deletions src/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 82a7bf5

Please sign in to comment.