-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(prisma): Improved sample manual to ignore error with TypeScript
- Loading branch information
Castellanos, Eduard Andres (Colombia)
authored and
Castellanos, Eduard Andres (Colombia)
committed
Sep 6, 2022
1 parent
a05bfca
commit da56896
Showing
3 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,13 +91,21 @@ const run = async () => { | |
id: 1, | ||
}, | ||
}, | ||
// @ts-ignore | ||
subSegment | ||
); | ||
const companies = await client.company.findMany( | ||
// @ts-ignore | ||
subSegment | ||
); | ||
const companies = await client.company.findMany(subSegment); | ||
console.log(companies); | ||
subSegment.close(); | ||
// ... | ||
}; | ||
|
||
run(); | ||
``` | ||
|
||
# Contributors | ||
|
||
- Eduard Castellanos <[email protected]>, <[email protected]> |
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
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