Fixed typo in Error string (#4539).
This commit is contained in:
parent
cd89de4eaf
commit
7882905085
@ -736,7 +736,7 @@ export function assertArgumentCount(count: number, expectedCount: number, messag
|
||||
expectedCount: expectedCount
|
||||
});
|
||||
|
||||
assert(count <= expectedCount, "too many arguemnts" + message, "UNEXPECTED_ARGUMENT", {
|
||||
assert(count <= expectedCount, "too many arguments" + message, "UNEXPECTED_ARGUMENT", {
|
||||
count: count,
|
||||
expectedCount: expectedCount
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user