popup.css.d.ts 可以这么写,比较省时省力:
declare const styles: {
readonly [key: string]: string;
}
export default styles;
declare const styles: {
readonly [key: string]: string;
}
export default styles;
2021-03-24
最新回答 / 慕前端7083318
{ test: /\.css$/, use: [ "style-loader", { loader: "css-loader", options: { modules: true, }, }, ], include: [path.resolve(__dirname, "src/components")],...
2021-02-02