Skip to content

Commit 90e8d3a

Browse files
authored
Small fixes (#60)
* fix: align default/defaultValue * fix: declarations are optional
1 parent e527701 commit 90e8d3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

schema.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export interface JavaScriptModule {
6868
* exports should be described here. Ie, functions and objects that may be
6969
* properties of exported objects, or passed as arguments to functions.
7070
*/
71-
declarations: Array<Declaration>;
71+
declarations?: Array<Declaration>;
7272

7373
/**
7474
* The exports of a module. This includes JavaScript exports and
@@ -245,7 +245,7 @@ export interface Attribute {
245245
* As attributes are always strings, this is the actual value, not a human
246246
* readable description.
247247
*/
248-
defaultValue?: string;
248+
default?: string;
249249

250250
/**
251251
* The name of the field this attribute is associated with, if any.
@@ -314,7 +314,7 @@ export interface CssCustomProperty {
314314
*/
315315
name: string;
316316

317-
defaultValue?: string;
317+
default?: string;
318318

319319
/**
320320
* A markdown summary suitable for display in a listing.

0 commit comments

Comments
 (0)