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

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed May 15, 2024
1 parent bbaa3ef commit 7beadc9
Show file tree
Hide file tree
Showing 48 changed files with 2 additions and 48 deletions.
1 change: 0 additions & 1 deletion src/ad/ad-content-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 短视频内容联盟广告 */
Expand Down
1 change: 0 additions & 1 deletion src/ad/ad-draw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 沉浸视频流广告 */
Expand Down
1 change: 0 additions & 1 deletion src/ad/ad-fullscreen-video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 全屏视频广告 */
Expand Down
2 changes: 1 addition & 1 deletion src/ad/ad-interactive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ interface _AdInteractiveOnErrorDetail {
errMsg: string;
}

// eslint-disable-next-line n/no-unsupported-features/node-builtins
type _AdInteractiveOnErrorEvent = CustomEvent<_AdInteractiveOnErrorDetail>;

/** 广告加载失败的回调 */
Expand Down Expand Up @@ -70,7 +71,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 互动广告 */
Expand Down
1 change: 0 additions & 1 deletion src/ad/ad-interstitial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 插屏广告 */
Expand Down
1 change: 0 additions & 1 deletion src/ad/ad-rewarded-video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 激励视频广告 */
Expand Down
1 change: 0 additions & 1 deletion src/ad/ad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 信息流广告 */
Expand Down
1 change: 0 additions & 1 deletion src/basic-components/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 图标 */
Expand Down
1 change: 0 additions & 1 deletion src/basic-components/progress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 进度条 */
Expand Down
1 change: 0 additions & 1 deletion src/basic-components/rich-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 富文本 */
Expand Down
1 change: 0 additions & 1 deletion src/basic-components/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/canvas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ interface _CanvasOnErrorDetail {
errMsg: string;
}

// eslint-disable-next-line n/no-unsupported-features/node-builtins
type _CanvasOnErrorEvent = CustomEvent<_CanvasOnErrorDetail>;

/** 发生错误时触发 */
Expand Down Expand Up @@ -141,7 +142,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 画布 */
Expand Down
1 change: 0 additions & 1 deletion src/form-components/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 按钮 */
Expand Down
1 change: 0 additions & 1 deletion src/form-components/checkbox-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 多项选择器,内部由多个 checkbox 组成 */
Expand Down
1 change: 0 additions & 1 deletion src/form-components/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 多选项目 */
Expand Down
1 change: 0 additions & 1 deletion src/form-components/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/form-components/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/form-components/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 输入框 */
Expand Down
1 change: 0 additions & 1 deletion src/form-components/label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/form-components/picker-view-column.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
PickerViewColumn: _PickerViewColumn;
Expand Down
1 change: 0 additions & 1 deletion src/form-components/picker-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 嵌入页面的滚动选择器,比 picker 更灵活 */
Expand Down
1 change: 0 additions & 1 deletion src/form-components/picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 从底部弹起的滚动选择器,通过 mode 来区分 */
Expand Down
1 change: 0 additions & 1 deletion src/form-components/radio-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/form-components/radio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 单选项目 */
Expand Down
1 change: 0 additions & 1 deletion src/form-components/slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 滑动选择器 */
Expand Down
1 change: 0 additions & 1 deletion src/form-components/switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 开关选择器 */
Expand Down
1 change: 0 additions & 1 deletion src/form-components/textarea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 多行输入框 */
Expand Down
1 change: 0 additions & 1 deletion src/map/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 地图组件,用于展示地图 */
Expand Down
1 change: 0 additions & 1 deletion src/media-components/audio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 音频 */
Expand Down
1 change: 0 additions & 1 deletion src/media-components/camera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 页面内嵌的区域相机组件 */
Expand Down
1 change: 0 additions & 1 deletion src/media-components/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 图片 */
Expand Down
1 change: 0 additions & 1 deletion src/media-components/live-player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 实时音视频播放(直播拉流) */
Expand Down
1 change: 0 additions & 1 deletion src/media-components/live-pusher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 实时音视频录制(直播推流) */
Expand Down
1 change: 0 additions & 1 deletion src/media-components/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/navigation/navigator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/page-property-configuration-node/custom-tab-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** 自定义 tabBar 组件 */
Expand Down
1 change: 0 additions & 1 deletion src/page-property-configuration-node/navigation-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/page-property-configuration-node/page-meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/view-containers/cover-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/view-containers/cover-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/view-containers/match-media.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/view-containers/movable-area.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/view-containers/movable-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/view-containers/scroll-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/view-containers/swiper-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/view-containers/swiper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/view-containers/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/**
Expand Down
1 change: 0 additions & 1 deletion src/web-view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ declare global {
}
}

// @ts-expect-error Invalid module name in augmentation, module cannot be found.
declare module '@vue/runtime-core' {
export interface GlobalComponents {
/** Web 浏览器组件,可承载网页 */
Expand Down

0 comments on commit 7beadc9

Please sign in to comment.