Skip to content

Commit 97e5556

Browse files
Update plugin.ts
1 parent 4222df8 commit 97e5556

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export default class DocgenPlugin {
131131
private name = "React Docgen Typescript Plugin";
132132
private options: PluginOptions;
133133

134-
constructor(options: PluginOptions) {
134+
constructor(options: PluginOptions = {}) {
135135
this.options = options;
136136
}
137137

0 commit comments

Comments
 (0)