fix(napi-derive): JsUnknown should be unknown type

This commit is contained in:
LongYinan 2022-04-13 23:53:27 +08:00
parent f05ced0782
commit 6b7cd185a1

View file

@ -189,6 +189,7 @@ static KNOWN_TYPES: Lazy<HashMap<&'static str, &'static str>> = Lazy::new(|| {
("JsFunction", "(...args: any[]) => any"),
("JsGlobal", "typeof global"),
("External", "ExternalObject<{}>"),
("JsUnknown", "unknown"),
]);
map