Skip to content

Commit fc0877a

Browse files
fix: fix tsdocs (#21)
Co-authored-by: Panpan <[email protected]>
1 parent e59bdb7 commit fc0877a

File tree

108 files changed

+791
-108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+791
-108
lines changed

docs/.vitepress/theme/custom.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/**
22
* Colors
33
* -------------------------------------------------------------------------- */
4-
:root {
4+
:root {
55
--vp-c-brand-1: hsl(128, 56%, 38%);
66
--vp-c-brand-2: hsl(128, 56%, 55%);
77
--vp-c-brand-3: hsl(128, 56%, 45%);
88
--vp-c-brand-soft: rgba(98, 133, 208, 0.16);
99
}
1010

1111
/**
12-
* Component: Home
13-
* -------------------------------------------------------------------------- */
12+
* Component: Home
13+
* -------------------------------------------------------------------------- */
1414

1515
:root {
1616
--vp-home-hero-name-color: transparent;

packages/uni-app-types/src/ad/ad-content-page.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,13 @@ declare global {
211211

212212
declare module "vue" {
213213
export interface GlobalComponents {
214-
/** 短视频内容联盟广告 */
214+
/**
215+
* 短视频内容联盟广告
216+
* ***
217+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/uni-ad/ad-content-page.html)
218+
* |
219+
* [使用说明](https://uni-typed.netlify.app/)
220+
*/
215221
AdContentPage: _AdContentPage;
216222
}
217223
}

packages/uni-app-types/src/ad/ad-draw.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,13 @@ declare global {
6767

6868
declare module "vue" {
6969
export interface GlobalComponents {
70-
/** 沉浸视频流广告 */
70+
/**
71+
* 沉浸视频流广告
72+
* ***
73+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/uni-ad/ad-draw.html)
74+
* |
75+
* [使用说明](https://uni-typed.netlify.app/)
76+
*/
7177
AdDraw: _AdDraw;
7278
}
7379
}

packages/uni-app-types/src/ad/ad-fullscreen-video.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,13 @@ declare global {
9797

9898
declare module "vue" {
9999
export interface GlobalComponents {
100-
/** 全屏视频广告 */
100+
/**
101+
* 全屏视频广告
102+
* ***
103+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/uni-ad/ad-fullscreen-video.html)
104+
* |
105+
* [使用说明](https://uni-typed.netlify.app/)
106+
*/
101107
AdFullscreenVideo: _AdFullscreenVideo;
102108
}
103109
}

packages/uni-app-types/src/ad/ad-interactive.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ declare global {
6868

6969
declare module "vue" {
7070
export interface GlobalComponents {
71-
/** 互动广告 */
71+
/**
72+
* 互动广告
73+
* ***
74+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/uni-ad/ad-interactive.html)
75+
* |
76+
* [使用说明](https://uni-typed.netlify.app/)
77+
*/
7278
AdInteractive: _AdInteractive;
7379
}
7480
}

packages/uni-app-types/src/ad/ad-interstitial.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,13 @@ declare global {
9090

9191
declare module "vue" {
9292
export interface GlobalComponents {
93-
/** 插屏广告 */
93+
/**
94+
* 插屏广告
95+
* ***
96+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/uni-ad/ad-interstitial.html)
97+
* |
98+
* [使用说明](https://uni-typed.netlify.app/)
99+
*/
94100
AdInterstitial: _AdInterstitial;
95101
}
96102
}

packages/uni-app-types/src/ad/ad-rewarded-video.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,13 @@ declare global {
102102

103103
declare module "vue" {
104104
export interface GlobalComponents {
105-
/** 激励视频广告 */
105+
/**
106+
* 激励视频广告
107+
* ***
108+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/uni-ad/ad-rewarded-video.html)
109+
* |
110+
* [使用说明](https://uni-typed.netlify.app/)
111+
*/
106112
AdRewardedVideo: _AdRewardedVideo;
107113
}
108114
}

packages/uni-app-types/src/ad/ad.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,13 @@ declare global {
121121

122122
declare module "vue" {
123123
export interface GlobalComponents {
124-
/** 信息流广告 */
125-
Ad: _Ad;
124+
/**
125+
* 信息流广告
126+
* ***
127+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/uni-ad/ad-component.html)
128+
* |
129+
* [使用说明](https://uni-typed.netlify.app/)
130+
*/
131+
ad: _Ad;
126132
}
127133
}

packages/uni-app-types/src/basic-components/icon.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ declare global {
4141

4242
declare module "vue" {
4343
export interface GlobalComponents {
44-
/** 图标 */
45-
Icon: _Icon;
44+
/**
45+
* 图标
46+
* ***
47+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/icon.html)
48+
* |
49+
* [使用说明](https://uni-typed.netlify.app/)
50+
*/
51+
icon: _Icon;
4652
}
4753
}

packages/uni-app-types/src/basic-components/progress.ts

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,28 @@ declare global {
130130

131131
declare module "vue" {
132132
export interface GlobalComponents {
133-
/** 进度条 */
134-
Progress: _Progress;
133+
/**
134+
* 进度条
135+
* ***
136+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/progress.html)
137+
* |
138+
* [使用说明](https://uni-typed.netlify.app/)
139+
*/
140+
progress: _Progress;
135141
}
136142
}
137143

138144
// 3.0 <= Vue <= 3.2
139145
declare global {
140146
namespace JSX {
141147
interface IntrinsicElements {
142-
/** 进度条 */
148+
/**
149+
* 进度条
150+
* ***
151+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/progress.html)
152+
* |
153+
* [使用说明](https://uni-typed.netlify.app/)
154+
*/
143155
progress: _Progress;
144156
}
145157
}
@@ -150,7 +162,13 @@ declare global {
150162
declare module "vue/jsx-runtime" {
151163
namespace JSX {
152164
interface IntrinsicElements {
153-
/** 进度条 */
165+
/**
166+
* 进度条
167+
* ***
168+
* [👉🏻点击查看组件文档](https://uniapp.dcloud.net.cn/component/progress.html)
169+
* |
170+
* [使用说明](https://uni-typed.netlify.app/)
171+
*/
154172
progress: _Progress;
155173
}
156174
}

0 commit comments

Comments
 (0)