mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Consistently use @type
for getter data types in JSDoc comments
Sometimes we also used `@return` or `@returns`, but `@type` is what the JSDoc documentation recommends. This also improves the documentation because before this commit the types were not shown and now they are.
This commit is contained in:
parent
f4daafc077
commit
8b4ae6f3eb
13 changed files with 56 additions and 56 deletions
|
@ -55,7 +55,7 @@ class PDFCursorTools {
|
|||
}
|
||||
|
||||
/**
|
||||
* @returns {number} One of the values in {CursorTool}.
|
||||
* @type {number} One of the values in {CursorTool}.
|
||||
*/
|
||||
get activeTool() {
|
||||
return this.active;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue