From f500f1ad2b1fb13bf08c5050f384ab8554a5f3c9 Mon Sep 17 00:00:00 2001 From: sinclair Date: Sat, 18 Nov 2023 17:57:56 +0900 Subject: [PATCH] Iterator Update | Version --- package-lock.json | 4 ++-- package.json | 2 +- src/typebox.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 79a891d45..48e7f7e19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@sinclair/typebox", - "version": "0.31.25", + "version": "0.31.26", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@sinclair/typebox", - "version": "0.31.25", + "version": "0.31.26", "license": "MIT", "devDependencies": { "@sinclair/hammer": "^0.18.0", diff --git a/package.json b/package.json index 62752db56..f7aa93d5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sinclair/typebox", - "version": "0.31.25", + "version": "0.31.26", "description": "JSONSchema Type Builder with Static Type Resolution for TypeScript", "keywords": [ "typescript", diff --git a/src/typebox.ts b/src/typebox.ts index aef60231f..1003ca387 100644 --- a/src/typebox.ts +++ b/src/typebox.ts @@ -242,7 +242,7 @@ export interface TArray extends TSchema, ArrayOptio // -------------------------------------------------------------------------- // TAsyncIterator // -------------------------------------------------------------------------- -export type TAsyncIteratorResolve = AsyncIterableIterator>> +export type TAsyncIteratorResolve = Ensure>> export interface TAsyncIterator extends TSchema { [Kind]: 'AsyncIterator' static: TAsyncIteratorResolve @@ -477,7 +477,7 @@ export interface TIntersect extends TSchema, In // -------------------------------------------------------------------------- // TIterator // -------------------------------------------------------------------------- -export type TIteratorResolve = IterableIterator>> +export type TIteratorResolve = Ensure>> export interface TIterator extends TSchema { [Kind]: 'Iterator' static: TIteratorResolve