From 3e7ea5de571482d5a1c8c18b65ed5dd4f062af40 Mon Sep 17 00:00:00 2001 From: Stefan Zerkalica Date: Mon, 18 Sep 2023 00:22:40 +0300 Subject: [PATCH] $mol_range2 restore --- range2/range2.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/range2/range2.ts b/range2/range2.ts index 7c836b2beb4..c5700834fd1 100644 --- a/range2/range2.ts +++ b/range2/range2.ts @@ -5,10 +5,9 @@ namespace $ { export function $mol_range2< Item = number >( item : ( index : number )=> Item = index => index as any , size = ()=> Number.POSITIVE_INFINITY , - sample = new $mol_range2_array ) : Item[] { - return new Proxy( sample , { + return new Proxy( new $mol_range2_array< Item >() , { get( target , field ) { if( typeof field === 'string' ) {