ant-design/typings/custom-typings.d.ts
renovate[bot] ff52bbcc86
chore(deps): update dependency chalk to v5 (#52109)
* chore(deps): update dependency chalk to v5

* migrate chalk

* Update .github/workflows/test.yml

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-12-24 18:27:18 +08:00

32 lines
776 B
TypeScript

// 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';
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
const src: string;
export default src;
}
declare module 'rc-util*';
declare module 'jsonml-to-react-element';
declare module 'jsonml.js/*';
declare module '*.json' {
const value: any;
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';
declare module 'dekko';