sql-typechecker 0.0.24 → 0.0.25

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 CHANGED
@@ -242309,7 +242309,7 @@ function doCreateFunction(g, c, s) {
242309
242309
  type: "null"
242310
242310
  };
242311
242311
  if (returnType.kind === "void") {
242312
- if (!s.returns) {
242312
+ if (!s.returns || s.returns.type.kind === void 0 && s.returns.type.name === "void") {
242313
242313
  return {kind: "void"};
242314
242314
  } else if (s.returns.type.kind === "table") {
242315
242315
  throw new Error("RETURNS TABLE is not supported yet");