Skip to content

Commit

Permalink
Provide example of not using description
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanMihaiciuc committed Nov 10, 2020
1 parent edd2064 commit dd0381c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ide/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class DemoWebpackWidget extends TWComposerWidget {
*/
@property('NUMBER', defaultValue(90)) width: number;

/**
* When the `@description` decorator is not used, the JSDoc documentation will be used as
* the description for the property.
*/
@property('NUMBER', defaultValue(30)) height: number;

/**
Expand Down

0 comments on commit dd0381c

Please sign in to comment.