Skip to content

Commit f1ff635

Browse files
committed
Update param type
1 parent 36c60f2 commit f1ff635

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/utils/define-property/docs/repl.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
obj: Object
1414
Object on which to define the property.
1515

16-
prop: string
16+
prop: string|symbol
1717
Property name.
1818

1919
descriptor: Object

lib/node_modules/@stdlib/utils/define-property/lib/builtin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @name defineProperty
3131
* @type {Function}
3232
* @param {Object} obj - object on which to define the property
33-
* @param {string} prop - property name
33+
* @param {(string|symbol)} prop - property name
3434
* @param {Object} descriptor - property descriptor
3535
* @param {boolean} [descriptor.configurable=false] - boolean indicating if property descriptor can be changed and if the property can be deleted from the provided object
3636
* @param {boolean} [descriptor.enumerable=false] - boolean indicating if the property shows up when enumerating object properties

0 commit comments

Comments
 (0)