Skip to content

Commit b19a53c

Browse files
author
那里好脏不可以
authored
fix(jsdoc): change type bool to boolean (#6164)
1 parent dc17544 commit b19a53c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Dropdown/Dropdown.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export default class Dropdown extends Component {
156156
/**
157157
* Toggle visibility of dropdown items
158158
*
159-
* @param {bool} state - Whether to display or hide the items
159+
* @param {boolean} state - Whether to display or hide the items
160160
*/
161161
_toggle(state = false) {
162162
this.setState({

src/utilities/test-local-storage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Test if localStorage is enabled.
33
*
44
* {@link https://github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js}
5-
* @return {undefined|bool} Returns false on error.
5+
* @return {undefined|boolean} Returns false on error.
66
*/
77
module.exports = function () {
88
const test = 'localStorageTest';

0 commit comments

Comments
 (0)