docs: 修改错误文档

This commit is contained in:
ningmengchongshui 2024-06-09 11:58:17 +08:00
parent 6d8c923bf5
commit 31aab55f65
3 changed files with 7 additions and 16 deletions

18
DEV.md
View File

@ -25,7 +25,7 @@
* @param T 任意字符串 * @param T 任意字符串
* @returns false * @returns false
*/ */
function getTest(T:string){ function getTest(T: string) {
return false return false
} }
``` ```
@ -34,17 +34,13 @@ function getTest(T:string){
```ts ```ts
// 获得test值 // 获得test值
function getTest(T:string){ function getTest(T: string) {}
}
// 设置 // 设置
function setTest(T:string){ function setTest(T: string) {}
}
// 删除 // 删除
function delTest(T:string){ function delTest(T: string) {}
}
// 获取某数据依据为id // 获取某数据依据为id
function getDataById(T:string){ function getDataById(T: string) {}
}
// 系统常量 // 系统常量
const ENV_TEST = 'dev' const ENV_TEST = 'dev'
@ -88,12 +84,10 @@ lib目录将在未来逐渐放弃在版本发布后开发者需要有意
## 新版目录 ## 新版目录
- 核心源码 - 核心源码
src/core src/core
- 配置管理 - 配置管理
src/config src/config
@ -180,4 +174,4 @@ class Component {
) )
} }
} }
``` ```

View File

@ -18,7 +18,7 @@ import ListenerLoader from './lib/listener/loader.js'
import { Client } from 'icqq' import { Client } from 'icqq'
/** /**
* *
*/ */
export class Yunzai extends Client { export class Yunzai extends Client {
/** /**

View File

@ -8,9 +8,6 @@ const games = [
{ key: 'sr', name: '星穹铁道' } { key: 'sr', name: '星穹铁道' }
] ]
/** /**
* *
*/ */