ant-design/typings/custom-typings.d.ts

30 lines
751 B
TypeScript
Raw Normal View History

// https://github.com/facebook/create-react-app/blob/f09d3d3a52c1b938cecc977c2bbc0942ea0a7e70/packages/react-scripts/lib/react-app.d.ts#L42-L49
declare module '*.svg' {
import * as React from 'react';
2018-12-26 16:01:00 +08:00
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
const src: string;
export default src;
}
2016-10-20 20:12:46 +08:00
declare module 'rc-util*';
declare module 'jsonml-to-react-element';
2022-12-08 13:44:20 +08:00
declare module 'jsonml.js/*';
2018-12-07 20:02:01 +08:00
declare module '*.json' {
const value: any;
2017-02-13 14:57:04 +08:00
export const version: string;
export default value;
}
declare module '@npmcli/run-script' {
export default function runScript(options: {
[key: string]: string | string[] | boolean | NodeJS.ProcessEnv;
}): Promise<void>;
}
declare module '@microflash/rehype-figure';