typebox 1.0.71 → 1.0.72

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.
@@ -11,10 +11,8 @@ export interface TObject<Properties extends TProperties = TProperties> extends T
11
11
  }
12
12
  /** Creates an Object type. */
13
13
  declare function _Object_<Properties extends TProperties>(properties: Properties, options?: TObjectOptions): TObject<Properties>;
14
- /** `[Json]` Creates an Object type */
15
- export declare var Object: typeof _Object_;
14
+ export { _Object_ as Object };
16
15
  /** Returns true if the given value is TObject. */
17
16
  export declare function IsObject(value: unknown): value is TObject;
18
17
  /** Extracts options from a TObject. */
19
18
  export declare function ObjectOptions(type: TObject): TObjectOptions;
20
- export {};
@@ -11,8 +11,7 @@ function _Object_(properties, options = {}) {
11
11
  const required = requiredKeys.length > 0 ? { required: requiredKeys } : {};
12
12
  return Memory.Create({ '~kind': 'Object' }, { type: 'object', ...required, properties }, options);
13
13
  }
14
- /** `[Json]` Creates an Object type */
15
- export var Object = _Object_; // Required for CommonJS ES Interop
14
+ export { _Object_ as Object }; // Required for CommonJS ES Interop
16
15
  // ------------------------------------------------------------------
17
16
  // Guard
18
17
  // ------------------------------------------------------------------
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typebox",
3
3
  "description": "Json Schema Type Builder with Static Type Resolution for TypeScript",
4
- "version": "1.0.71",
4
+ "version": "1.0.72",
5
5
  "keywords": [
6
6
  "typescript",
7
7
  "jsonschema"