Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @slot container - You can put some elements here
*
* @cssprop --text-color - Controls the color of foo
* @cssproperty [--background-color=red] - Controls the color of bar
* @cssproperty {color} [--background-color=red] - Controls the color of bar
*
* @prop {boolean} prop1 - some description
* @property {number} prop2 - some description
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export function classJsDocPlugin() {
case 'cssproperty':
let cssPropertyDoc = {};
cssPropertyDoc = handleClassJsDoc(cssPropertyDoc, jsDoc);
delete cssPropertyDoc.type;
classDoc.cssProperties.push(cssPropertyDoc);
break;
case 'slot':
Expand Down