sql-typechecker 0.0.44 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/cli.js +1 -3
- package/out/cli.js.map +2 -2
- package/package.json +1 -1
package/out/cli.js
CHANGED
|
@@ -243427,9 +243427,7 @@ function genDeserialization(returnType, literalVar) {
|
|
|
243427
243427
|
} else if (returnType.kind === "record") {
|
|
243428
243428
|
return "({" + returnType.fields.map((f, i) => `${f.name?.name || "?"}: ${genDeserializeSimpleT(f.type, literalVar + "[" + i + "]")}`).join(",\n") + "})";
|
|
243429
243429
|
} else {
|
|
243430
|
-
|
|
243431
|
-
return ${genDeserializeSimpleT(returnType, "cells[0]")};
|
|
243432
|
-
}`;
|
|
243430
|
+
return genDeserializeSimpleT(returnType, literalVar);
|
|
243433
243431
|
}
|
|
243434
243432
|
}
|
|
243435
243433
|
function functionToTypescript(f) {
|