chore: doc version 1.0.4

This commit is contained in:
JackLian 2022-12-05 20:15:33 +08:00
parent 0fbf4cda4c
commit aed94f1532
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
--- ---
title: 编码规约 title: 编码规约
sidebar_position: 5
--- ---
编码规约 编码规约
@ -26,7 +27,7 @@ title: 编码规约
- 不要在全局命名空间内定义类型/值 - 不要在全局命名空间内定义类型/值
- 共享的类型应该在 `types.ts` 里定义 - 共享的类型应该在 `types.ts` 里定义
- 在一个文件里,类型定义应该出现在顶部 - 在一个文件里,类型定义应该出现在顶部
- interface 和 type 很类似,原则上能用 interface 实现,就用 interface , 如果不能才用 type - interface 和 type 很类似,原则上能用 interface 实现,就用 interface , 如果不能才用 type
### 注释 ### 注释

View File

@ -1,6 +1,6 @@
{ {
"name": "@alilc/lowcode-engine-docs", "name": "@alilc/lowcode-engine-docs",
"version": "1.0.3", "version": "1.0.4",
"description": "低代码引擎版本化文档", "description": "低代码引擎版本化文档",
"license": "MIT", "license": "MIT",
"files": [ "files": [