Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit b2eb41f

Browse files
committed
chore: remove ts comment
1 parent d7b1aa7 commit b2eb41f

Some content is hidden

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

60 files changed

+0
-60
lines changed

src/template.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export {
2121
// }
2222
// }
2323

24-
// // @ts-expect-error Invalid module name in augmentation, module cannot be found.
2524
// declare module '@vue/runtime-core' {
2625
// export interface GlobalComponents {
2726
// Template: _Template;

src/uni-badge.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ declare global {
205205
}
206206
}
207207

208-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
209208
declare module '@vue/runtime-core' {
210209
export interface GlobalComponents {
211210
/**

src/uni-breadcrumb-item.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ declare global {
2929
}
3030
}
3131

32-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
3332
declare module '@vue/runtime-core' {
3433
export interface GlobalComponents {
3534
UniBreadcrumbItem: _UniBreadcrumbItem;

src/uni-breadcrumb.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ declare global {
4343
}
4444
}
4545

46-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
4746
declare module '@vue/runtime-core' {
4847
export interface GlobalComponents {
4948
/**

src/uni-calendar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ declare global {
299299
}
300300
}
301301

302-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
303302
declare module '@vue/runtime-core' {
304303
export interface GlobalComponents {
305304
/**

src/uni-card.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ declare global {
117117
}
118118
}
119119

120-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
121120
declare module '@vue/runtime-core' {
122121
export interface GlobalComponents {
123122
/**

src/uni-col.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ declare global {
5757
}
5858
}
5959

60-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
6160
declare module '@vue/runtime-core' {
6261
export interface GlobalComponents {
6362
/** 流式栅格系统中的列 */

src/uni-collapse-item.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ declare global {
9191
}
9292
}
9393

94-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
9594
declare module '@vue/runtime-core' {
9695
export interface GlobalComponents {
9796
UniCollapseItem: _UniCollapseItem;

src/uni-collapse.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ declare global {
137137
}
138138
}
139139

140-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
141140
declare module '@vue/runtime-core' {
142141
export interface GlobalComponents {
143142
/**

src/uni-combox.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ declare global {
7373
}
7474
}
7575

76-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
7776
declare module '@vue/runtime-core' {
7877
export interface GlobalComponents {
7978
/** 组合框组件,一般用于可以选择也可以输入的表单项 */

src/uni-countdown.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ declare global {
113113
}
114114
}
115115

116-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
117116
declare module '@vue/runtime-core' {
118117
export interface GlobalComponents {
119118
/** 倒计时 */

src/uni-data-checkbox.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ declare global {
276276
}
277277
}
278278

279-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
280279
declare module '@vue/runtime-core' {
281280
export interface GlobalComponents {
282281
/**

src/uni-data-picker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,6 @@ declare global {
421421
}
422422
}
423423

424-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
425424
declare module '@vue/runtime-core' {
426425
export interface GlobalComponents {
427426
/**

src/uni-data-select.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ declare global {
104104
}
105105
}
106106

107-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
108107
declare module '@vue/runtime-core' {
109108
export interface GlobalComponents {
110109
UniDataSelect: _UniDataSelect;

src/uni-dateformat.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ declare global {
109109
}
110110
}
111111

112-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
113112
declare module '@vue/runtime-core' {
114113
export interface GlobalComponents {
115114
/** 日期格式化组件 */

src/uni-datetime-picker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ declare global {
221221
}
222222
}
223223

224-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
225224
declare module '@vue/runtime-core' {
226225
export interface GlobalComponents {
227226
/** 支持时间戳输入和输出(起始时间、终止时间也支持时间戳),可同时选择日期和时间 */

src/uni-drawer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ declare global {
105105
}
106106
}
107107

108-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
109108
declare module '@vue/runtime-core' {
110109
export interface GlobalComponents {
111110
/** 抽屉侧滑菜单 */

src/uni-easyinput.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ declare global {
412412
}
413413
}
414414

415-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
416415
declare module '@vue/runtime-core' {
417416
export interface GlobalComponents {
418417
/** 对原生 input 组件的增强 */

src/uni-fab.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ declare global {
209209
}
210210
}
211211

212-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
213212
declare module '@vue/runtime-core' {
214213
export interface GlobalComponents {
215214
/** 点击可展开一个图形按钮菜单 */

src/uni-fav.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ declare global {
9696
}
9797
}
9898

99-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
10099
declare module '@vue/runtime-core' {
101100
export interface GlobalComponents {
102101
/** 用于收藏功能,可点击切换选中、不选中的状态 */

src/uni-file-picker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,6 @@ declare global {
634634
}
635635
}
636636

637-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
638637
declare module '@vue/runtime-core' {
639638
export interface GlobalComponents {
640639
/** 文件选择上传组件,可以选择图片、视频等任意文件并上传到当前绑定的服务空间 */

src/uni-forms-item.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ declare global {
9393
}
9494
}
9595

96-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
9796
declare module '@vue/runtime-core' {
9897
export interface GlobalComponents {
9998
UniFormsItem: _UniFormsItem;

src/uni-forms.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ declare global {
277277
}
278278
}
279279

280-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
281280
declare module '@vue/runtime-core' {
282281
export interface GlobalComponents {
283282
/** 表单,用于提交表单内容,内置了表单验证功能 */

src/uni-goods-nav.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ declare global {
118118
}
119119
}
120120

121-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
122121
declare module '@vue/runtime-core' {
123122
export interface GlobalComponents {
124123
/** 商品加入购物车,立即购买 */

src/uni-grid-item.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ declare global {
2929
}
3030
}
3131

32-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
3332
declare module '@vue/runtime-core' {
3433
export interface GlobalComponents {
3534
/** 宫格项 */

src/uni-grid.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ declare global {
7979
}
8080
}
8181

82-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
8382
declare module '@vue/runtime-core' {
8483
export interface GlobalComponents {
8584
/** 宫格 */

src/uni-group.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ declare global {
8080
}
8181
}
8282

83-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
8483
declare module '@vue/runtime-core' {
8584
export interface GlobalComponents {
8685
/** 分组组件可用于将组件分组,添加间隔,以产生明显的区块 */

src/uni-icons.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ declare global {
225225
}
226226
}
227227

228-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
229228
declare module '@vue/runtime-core' {
230229
export interface GlobalComponents {
231230
/** 图标 */

src/uni-indexed-list.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ declare global {
8080
}
8181
}
8282

83-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
8483
declare module '@vue/runtime-core' {
8584
export interface GlobalComponents {
8685
/** 索引列表 */

src/uni-link.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ declare global {
7575
}
7676
}
7777

78-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
7978
declare module '@vue/runtime-core' {
8079
export interface GlobalComponents {
8180
/**

src/uni-list-ad.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ declare global {
2323
}
2424
}
2525

26-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
2726
declare module '@vue/runtime-core' {
2827
export interface GlobalComponents {
2928
UniListAd: _UniListAd;

src/uni-list-chat.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ declare global {
9595
}
9696
}
9797

98-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
9998
declare module '@vue/runtime-core' {
10099
export interface GlobalComponents {
101100
/** 聊天列表 */

src/uni-list-item.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ declare global {
262262
}
263263
}
264264

265-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
266265
declare module '@vue/runtime-core' {
267266
export interface GlobalComponents {
268267
UniListItem: _UniListItem;

src/uni-list.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ declare global {
6161
}
6262
}
6363

64-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
6564
declare module '@vue/runtime-core' {
6665
export interface GlobalComponents {
6766
/**

src/uni-load-more.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ declare global {
166166
}
167167
}
168168

169-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
170169
declare module '@vue/runtime-core' {
171170
export interface GlobalComponents {
172171
/** 用于列表中,做滚动加载使用,展示 loading 的各种状态 */

src/uni-nav-bar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ declare global {
110110
}
111111
}
112112

113-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
114113
declare module '@vue/runtime-core' {
115114
export interface GlobalComponents {
116115
/** 导航栏组件,主要用于头部导航 */

src/uni-notice-bar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ declare global {
129129
}
130130
}
131131

132-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
133132
declare module '@vue/runtime-core' {
134133
export interface GlobalComponents {
135134
/** 通告栏 */

src/uni-number-box.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ declare global {
127127
}
128128
}
129129

130-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
131130
declare module '@vue/runtime-core' {
132131
export interface GlobalComponents {
133132
/** 带加减按钮的数字输入框 */

src/uni-pagination.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ declare global {
124124
}
125125
}
126126

127-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
128127
declare module '@vue/runtime-core' {
129128
export interface GlobalComponents {
130129
/** 分页器组件,用于展示页码、请求数据等 */

src/uni-popup-dialog.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ declare global {
210210
}
211211
}
212212

213-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
214213
declare module '@vue/runtime-core' {
215214
export interface GlobalComponents {
216215
UniPopupDialog: _UniPopupDialog;

src/uni-popup-message.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ declare global {
8181
}
8282
}
8383

84-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
8584
declare module '@vue/runtime-core' {
8685
export interface GlobalComponents {
8786
UniPopupMessage: _UniPopupMessage;

src/uni-popup-share.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ declare global {
5656
}
5757
}
5858

59-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
6059
declare module '@vue/runtime-core' {
6160
export interface GlobalComponents {
6261
UniPopupShare: _UniPopupShare;

src/uni-popup.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ declare global {
160160
}
161161
}
162162

163-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
164163
declare module '@vue/runtime-core' {
165164
export interface GlobalComponents {
166165
UniPopup: _UniPopup;

src/uni-rate.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ declare global {
127127
}
128128
}
129129

130-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
131130
declare module '@vue/runtime-core' {
132131
export interface GlobalComponents {
133132
/** 评分组件,多用于购买商品后,对商品进行评价等场景 */

src/uni-row.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ declare global {
7070
}
7171
}
7272

73-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
7473
declare module '@vue/runtime-core' {
7574
export interface GlobalComponents {
7675
/** 流式栅格系统中的行 */

src/uni-search-bar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ declare global {
231231
}
232232
}
233233

234-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
235234
declare module '@vue/runtime-core' {
236235
export interface GlobalComponents {
237236
/** 搜索栏 */

src/uni-section.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ declare global {
105105
}
106106
}
107107

108-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
109108
declare module '@vue/runtime-core' {
110109
export interface GlobalComponents {
111110
UniSection: _UniSection;

src/uni-segmented-control.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ declare global {
9393
}
9494
}
9595

96-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
9796
declare module '@vue/runtime-core' {
9897
export interface GlobalComponents {
9998
/** 分段器,用作不同视图的显示 */

src/uni-steps.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ declare global {
9393
}
9494
}
9595

96-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
9796
declare module '@vue/runtime-core' {
9897
export interface GlobalComponents {
9998
/** 步骤条 */

src/uni-swipe-action-item.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ declare global {
135135
}
136136
}
137137

138-
// @ts-expect-error Invalid module name in augmentation, module cannot be found.
139138
declare module '@vue/runtime-core' {
140139
export interface GlobalComponents {
141140
UniSwipeActionItem: _UniSwipeActionItem;

0 commit comments

Comments
 (0)