Skip to content

Commit

Permalink
TS Types: Extends the type of property that scripts/styles can takes (#…
Browse files Browse the repository at this point in the history
…4924)

chore(types): Extends the type of property that scripts and styles can take
  • Loading branch information
estebgonza committed Feb 22, 2023
1 parent 3cc8766 commit f941757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ declare namespace grapesjs {

interface CanvasConfig {
stylePrefix?: string;
scripts?: Array<string>;
styles?: Array<string>;
scripts?: Array<string | Record<string, string>>;
styles?: Array<string | Record<string, string>>;
customBadgeLabel?: Function;
autoscrollLimit?: number;
notTextable?: Array<string>;
Expand Down

0 comments on commit f941757

Please sign in to comment.