ITADN

Add assertion function example

#141Pull Requestnicojs 创建于 2024-07-31已合并
N
nicojscommented
<!-- 👋 Hi, thanks for sending a PR to LearningTypescript! 💖. Please fill out all fields below and make sure each item is true and [x] checked. Otherwise we may not be able to review your PR. --> ## PR Checklist - [ ] Addresses an existing open issue: fixes #000 - [ ] That issue was marked as [accepting prs](https://github.com/LearningTypeScript/site/issues?q=is%3Aopen+is%3Aissue+label%3A%22accepting+prs%22) - [ ] Steps in [CONTRIBUTING.md](https://github.com/LearningTypeScript/site/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Add an actual assertion function example (the one you had wasn't a [typescript assertion function](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#assertion-functions))
合并状态:已合并 合并于 2024-08-01 关闭于 2024-08-01 0 条评论