Browse Source

TS Types: Extends the type of property that scripts/styles can takes (#4924)

chore(types): Extends the type of property that scripts and styles can take
pull/4952/head
Esteban Gonzalez 3 years ago
committed by GitHub
parent
commit
f9417578dd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      index.d.ts

4
index.d.ts

@ -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>;

Loading…
Cancel
Save