@@ -45,7 +45,7 @@ import { type TArray, Array, IsArray, ArrayOptions } from '../types/array.ts'
4545import { type TAsyncIterator , AsyncIterator , IsAsyncIterator , AsyncIteratorOptions } from '../types/async-iterator.ts'
4646import { type TConstructor , Constructor , IsConstructor , ConstructorOptions } from '../types/constructor.ts'
4747import { type TDeferred , Deferred , IsDeferred } from '../types/deferred.ts'
48- import { type TFunction , Function , IsFunction , FunctionOptions } from '../types/function.ts'
48+ import { type TFunction , Function as _Function , IsFunction , FunctionOptions } from '../types/function.ts'
4949import { type TCall , IsCall } from '../types/call.ts'
5050import { type TIdentifier } from '../types/identifier.ts'
5151import { type TIntersect , Intersect , IsIntersect , IntersectOptions } from '../types/intersect.ts'
@@ -369,7 +369,7 @@ export function InstantiateType<Context extends TProperties, State extends TStat
369369 IsCall ( type ) ? CallInstantiate ( context , state , type . target , type . arguments ) :
370370 IsConstructor ( type ) ? Constructor ( InstantiateTypes ( context , state , type . parameters ) , InstantiateType ( context , state , type . instanceType ) as never , ConstructorOptions ( type ) ) :
371371 IsDeferred ( type ) ? InstantiateDeferred ( context , state , type . action , type . parameters , type . options ) :
372- IsFunction ( type ) ? Function ( InstantiateTypes ( context , state , type . parameters ) , InstantiateType ( context , state , type . returnType ) as never , FunctionOptions ( type ) ) :
372+ IsFunction ( type ) ? _Function ( InstantiateTypes ( context , state , type . parameters ) , InstantiateType ( context , state , type . returnType ) as never , FunctionOptions ( type ) ) :
373373 IsIntersect ( type ) ? Intersect ( InstantiateTypes ( context , state , type . allOf ) , IntersectOptions ( type ) ) :
374374 IsIterator ( type ) ? Iterator ( InstantiateType ( context , state , type . iteratorItems ) , IteratorOptions ( type ) ) :
375375 IsObject ( type ) ? Object ( InstantiateProperties ( context , state , type . properties ) , ObjectOptions ( type ) ) :
0 commit comments