Add TTS for node-addon-api (#871)

This commit is contained in:
Fangjun Kuang
2024-05-13 19:24:09 +08:00
committed by GitHub
parent 740d7ae9d6
commit 031134b4d4
21 changed files with 691 additions and 10 deletions

View File

@@ -605,7 +605,7 @@ static void InputFinishedWrapper(const Napi::CallbackInfo &info) {
if (info.Length() != 1) {
std::ostringstream os;
os << "Expect only 1 arguments. Given: " << info.Length();
os << "Expect only 1 argument. Given: " << info.Length();
Napi::TypeError::New(env, os.str()).ThrowAsJavaScriptException();