Commit 25dc80c
authored
fix: fix the "isFunction" utility to match both "asyncFunction"s and "Function"s (#927)
current behavior is the utility tries to match only "Function" and therefore "AsyncFunction" will be
considered bad and error will be thrown
fix #9261 parent fc283fb commit 25dc80c
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments