mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-29 18:48:32 +08:00
chore: remove json file type declare (#7514)
This commit is contained in:
parent
c28c38d02e
commit
eedd7f3302
13
loader.js
13
loader.js
@ -1,13 +0,0 @@
|
||||
function loader() {
|
||||
return `
|
||||
<script>
|
||||
export default {
|
||||
render() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
`;
|
||||
}
|
||||
|
||||
module.exports = loader;
|
5
site/typings/index.d.ts
vendored
5
site/typings/index.d.ts
vendored
@ -1,5 +0,0 @@
|
||||
declare module '*.json' {
|
||||
const value: any;
|
||||
export const version: string;
|
||||
export default value;
|
||||
}
|
@ -22,7 +22,8 @@
|
||||
"skipLibCheck": true,
|
||||
"allowJs": true,
|
||||
"importsNotUsedAsValues": "preserve",
|
||||
"stripInternal": true
|
||||
"stripInternal": true,
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
|
5
typings/custom-typings.d.ts
vendored
5
typings/custom-typings.d.ts
vendored
@ -1,5 +0,0 @@
|
||||
declare module '*.json' {
|
||||
const value: any;
|
||||
export const version: string;
|
||||
export default value;
|
||||
}
|
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@ -1,2 +0,0 @@
|
||||
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
||||
/// <reference path="custom-typings.d.ts" />
|
42
typings/vue-tsx-shim.d.ts
vendored
42
typings/vue-tsx-shim.d.ts
vendored
@ -1,42 +0,0 @@
|
||||
import 'vue';
|
||||
|
||||
type EventHandler = (...args: any[]) => void;
|
||||
|
||||
declare module 'vue' {
|
||||
interface ComponentCustomProps {
|
||||
role?: string;
|
||||
tabindex?: number | string;
|
||||
// should be removed after Vue supported component events typing
|
||||
// see: https://github.com/vuejs/vue-next/issues/1553
|
||||
// https://github.com/vuejs/vue-next/issues/3029
|
||||
// onBlur?: EventHandler;
|
||||
// onOpen?: EventHandler;
|
||||
// onEdit?: EventHandler;
|
||||
// onLoad?: EventHandler;
|
||||
// onClose?: EventHandler;
|
||||
// onFocus?: EventHandler;
|
||||
// onInput?: EventHandler;
|
||||
// onClick?: EventHandler;
|
||||
// onPress?: EventHandler;
|
||||
// onCancel?: EventHandler;
|
||||
// onChange?: EventHandler;
|
||||
// onDelete?: EventHandler;
|
||||
// onScroll?: EventHandler;
|
||||
// onSubmit?: EventHandler;
|
||||
// onSelect?: EventHandler;
|
||||
// onConfirm?: EventHandler;
|
||||
// onPreview?: EventHandler;
|
||||
// onKeypress?: EventHandler;
|
||||
// onTouchend?: EventHandler;
|
||||
// onTouchmove?: EventHandler;
|
||||
// onTouchstart?: EventHandler;
|
||||
// onTouchcancel?: EventHandler;
|
||||
// onMouseenter?: EventHandler;
|
||||
// onMouseleave?: EventHandler;
|
||||
// onMousemove?: EventHandler;
|
||||
// onKeydown?: EventHandler;
|
||||
// onKeyup?: EventHandler;
|
||||
// onDeselect?: EventHandler;
|
||||
// onClear?: EventHandler;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user