kecare-tools 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +8 -2
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
// 你可以在文件里编写你的类型定义
|
|
2
1
|
|
|
3
2
|
export type Article = {
|
|
4
|
-
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
desc: string;
|
|
6
|
+
coverSrc: string;
|
|
7
|
+
contentHtml: string;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
author: string;
|
|
10
|
+
to: string;
|
|
5
11
|
};
|
|
6
12
|
|
|
7
13
|
export type ArticleListGenerator = (params: {
|