2019-12-09 14:38:36 +08:00
|
|
|
// 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
|
|
|
|
2020-03-28 11:56:57 +08:00
|
|
|
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
|
2019-12-09 14:38:36 +08:00
|
|
|
|
|
|
|
const src: string;
|
|
|
|
export default src;
|
|
|
|
}
|
2016-10-20 20:12:46 +08:00
|
|
|
|
|
|
|
declare module 'rc-util*';
|
|
|
|
|
2024-04-08 14:04:08 +08:00
|
|
|
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' {
|
2017-02-13 14:27:12 +08:00
|
|
|
const value: any;
|
2017-02-13 14:57:04 +08:00
|
|
|
export const version: string;
|
2017-02-13 14:27:12 +08:00
|
|
|
export default value;
|
|
|
|
}
|
2024-04-07 19:14:44 +08:00
|
|
|
|
|
|
|
declare module '@npmcli/run-script' {
|
|
|
|
export default function runScript(options: {
|
|
|
|
[key: string]: string | string[] | boolean | NodeJS.ProcessEnv;
|
|
|
|
}): Promise<void>;
|
|
|
|
}
|
2024-04-15 14:40:10 +08:00
|
|
|
|
|
|
|
declare module '@microflash/rehype-figure';
|