add config types
This commit is contained in:
parent
b099bb1218
commit
6debd1e7f2
11 changed files with 147 additions and 58 deletions
|
|
@ -363,10 +363,10 @@ const loadModules = () => {
|
|||
})
|
||||
.filter((mod: any) => Boolean(mod));
|
||||
|
||||
const deprecatedPlugins: Record<string, any> = plugins.getDeprecatedConfig();
|
||||
const deprecatedPlugins = plugins.getDeprecatedConfig();
|
||||
Object.keys(deprecatedPlugins).forEach((name) => {
|
||||
const {css} = deprecatedPlugins[name];
|
||||
if (css) {
|
||||
if (css.length > 0) {
|
||||
console.warn(`Warning: "${name}" plugin uses some deprecated CSS classes (${css.join(', ')}).`);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue