WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit f3b6a52

Browse files
authored
Merge pull request #6 from devforth/optional-preview
fix: set preview as optional field
2 parents 0cf4ba4 + b157951 commit f3b6a52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export type PluginOptions = {
6262
}) => string,
6363

6464

65-
preview: {
65+
preview?: {
6666

6767
/**
6868
* Maximum width of the preview image

0 commit comments

Comments
 (0)