Skip to content

Commit

Permalink
2023-09-19T10:44:22.908Z
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Sep 19, 2023
1 parent 9dc135e commit a0c3d63
Show file tree
Hide file tree
Showing 13 changed files with 99 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"scripts": {
"dev": "tsc --watch"
},
"dependencies": {
"zod": "^3.22.2"
}
}

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { z } from "zod";

const user = z.object({
name: z.string(),
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
"moduleDetection": "force",
"verbatimModuleSyntax": true
},
}
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "exercise",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"scripts": {
"dev": "tsc --watch"
},
"dependencies": {
"zod": "^3.22.2"
}
}

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { z } from "zod";

const user = z.object({
name: z.string(),
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module "zod" {
const z: any;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"outDir": "dist",
"rootDir": "src",
"strict": true,
"skipLibCheck": true,
"isolatedModules": true,
"moduleDetection": "force",
"verbatimModuleSyntax": true
},
}
Empty file.
Empty file.

0 comments on commit a0c3d63

Please sign in to comment.