Skip to content

Commit

Permalink
feat: update primitive translate
Browse files Browse the repository at this point in the history
  • Loading branch information
NWYLZW authored Nov 24, 2023
1 parent f162513 commit 5fac450
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
- [安装](#安装)
- [基本用法](#基本用法)
- [定义模式](#定义模式)
- [基础类型(primitive)](#基础类型(primitive))
- [原始值类型(primitive)](#原始值类型(primitive))
- [字面量(literal)](#字面量(literal))
- [字符串](#字符串)
- [Numbers](#numbers)
Expand Down Expand Up @@ -375,12 +375,12 @@ type User = z.infer<typeof User>;

# 定义模式

## 基础类型(primitive)
## 原始值类型(primitive)

```ts
import { z } from "zod";

// 基础类型
// 原始值类型
z.string();
z.number();
z.bigint();
Expand Down

0 comments on commit 5fac450

Please sign in to comment.