'use strict';

var types_generic_createPlaceholder = require('./create-placeholder.cjs');
require('../../utils/interfaces.cjs');
require('../../utils/assert.cjs');
require('../../utils/error.cjs');

const Null$1 = (value) => {
  if (value == null || !String(value).length) {
    return null;
  } else {
    throw new Error(`Unexpected value received: \`${value}\``);
  }
};

var Null = types_generic_createPlaceholder(Null$1);

module.exports = Null;
//# sourceMappingURL=typed-null.cjs.map
