@@ -39,17 +39,13 @@ const model3 = new TypedJSONModel(data);
3939/** @expect ts2345 */ model3 . bindList ( "/root/anArrayOfPlaceholders/0" ) ;
4040/** @expect ts2345 */ model3 . bindList ( "/root/anArrayOfObjects/0" ) ;
4141
42- // bindList always returns a JSONListBinding and cannot be assigned to other types
43- /** @expect ts2739 */ aPlaceholder = model3 . bindList ( "/root/array" ) ;
44- /** @expect ts2322 */ aJsonSafe = model3 . bindList ( "/root/array" ) ;
45-
4642/***********************************************************************************************************************
4743 * bindList - Relative cases
4844 **********************************************************************************************************************/
4945
5046const context = model3 . createBindingContext ( "/root" ) ;
5147
52- /** @expect ok */ let listBindingRealtive : JSONListBinding = model3 . bindList ( "array" , context ) ;
48+ /** @expect ok */ let listBindingRelative : JSONListBinding = model3 . bindList ( "array" , context ) ;
5349/** @expect ok */ model3 . bindList ( "nested" , context ) ;
5450/** @expect ok */ model3 . bindList ( "anObjectWithArray/anArray" , context ) ;
5551
@@ -58,7 +54,3 @@ const context = model3.createBindingContext("/root");
5854/** @expect ts2769 */ model3 . bindList ( "anObjectWithArray/anArray/0" , context ) ;
5955/** @expect ts2769 */ model3 . bindList ( "anArrayOfPlaceholders/0" , context ) ;
6056/** @expect ts2769 */ model3 . bindList ( "anArrayOfObjects/0" , context ) ;
61-
62- // bindList always returns a JSONListBinding and cannot be assigned to other types
63- /** @expect ts2739 */ aPlaceholder = model3 . bindList ( "array" , context ) ;
64- /** @expect ts2322 */ aJsonSafe = model3 . bindList ( "array" , context ) ;
0 commit comments