Skip to content

Commit

Permalink
Merge pull request #55 from mischnic/typings-fixes
Browse files Browse the repository at this point in the history
Fixup for typings
  • Loading branch information
parro-it authored Dec 7, 2018
2 parents 8e959e6 + f79c332 commit aa7e275
Show file tree
Hide file tree
Showing 3 changed files with 666 additions and 657 deletions.
6 changes: 3 additions & 3 deletions js/font-descriptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ class FontDescriptor {

/**
* Return weight of the font.
* @return {number}
* @return {FontAttribute.weight}
*/
get weight() {
return FontDescriptorC.getWeight(this.handle);
}

/**
* Return 1 if the font is italic, otherwise 0.
* @return {number}
* Return the italic attribute of the font
* @return {FontAttribute.italic}
*/
get italic() {
return FontDescriptorC.getItalic(this.handle);
Expand Down
Loading

0 comments on commit aa7e275

Please sign in to comment.