From 0e6536f4264deb728404ea2aa16ba9e5540d1dad Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Wed, 9 Sep 2026 17:19:41 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E7=B1=BB=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev.md | 1 + 1 file changed, 1 insertion(+) diff --git a/dev.md b/dev.md index 5f6a48f..bb046e2 100644 --- a/dev.md +++ b/dev.md @@ -96,6 +96,7 @@ - 函数类型单独开一个 `type` 类型别名,除非函数类型本身较短(小于 20 字符,且不会因为此函数类型导致换行)。 - 当任何时候必须出现对象类型的时候,单独声明一个 `interface`,不得出现直接的对象类型。 - 对于某个类中的对象成员,必须使用接口作为类型,不得使用类作为类型,除非某些极特殊情况。 +- 所有的类必须先进行 `interface` 声明,之后由类 `implements` 之实现,不得出现没有 `implements` 的类。 ### 其他要求