Type fixes again
This commit is contained in:
parent
3a5f4836e5
commit
208d6704b0
@ -30,7 +30,7 @@ module.exports = [
|
|||||||
if (arguments) {
|
if (arguments) {
|
||||||
arguments.forEach((argument, index) => {
|
arguments.forEach((argument, index) => {
|
||||||
console.log(typeof argument)
|
console.log(typeof argument)
|
||||||
if (typeof argument == "object") {
|
if (typeof argument == "object" || typeof argument == "function") {
|
||||||
arguments[index] = argument.prototype.name
|
arguments[index] = argument.prototype.name
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user