Skip to content

Commit c372b36

Browse files
authored
feat: export type CustomPlugin and PluginConfig (#2081)
1 parent a8472bc commit c372b36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/svgo.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ import type {
1111
PluginsParams,
1212
} from '../plugins/plugins-types.js';
1313

14-
type CustomPlugin<T = any> = {
14+
export type CustomPlugin<T = any> = {
1515
name: string;
1616
fn: Plugin<T>;
1717
params?: T;
1818
};
1919

20-
type PluginConfig =
20+
export type PluginConfig =
2121
| keyof BuiltinsWithOptionalParams
2222
| {
2323
[Name in keyof BuiltinsWithOptionalParams]: {

0 commit comments

Comments
 (0)