@@ -155,28 +155,28 @@ async function main() {
155155 filters : [ [ 'priority' , '=' , 'high' ] ]
156156 } ) ;
157157 console . log ( `\n🔥 High priority projects: ${ highPriority . length } ` ) ;
158- highPriority . forEach ( p => console . log ( ` - ${ p . name } ` ) ) ;
158+ highPriority . forEach ( ( p : any ) => console . log ( ` - ${ p . name } ` ) ) ;
159159
160160 // Find active projects
161161 const active = await projects . find ( {
162162 filters : [ [ 'status' , '=' , 'active' ] ]
163163 } ) ;
164164 console . log ( `\n⚡ Active projects: ${ active . length } ` ) ;
165- active . forEach ( p => console . log ( ` - ${ p . name } ` ) ) ;
165+ active . forEach ( ( p : any ) => console . log ( ` - ${ p . name } ` ) ) ;
166166
167167 // Find projects with budget > 40000
168168 const largeBudget = await projects . find ( {
169169 filters : [ [ 'budget' , '>' , 40000 ] ]
170170 } ) ;
171171 console . log ( `\n💰 Projects with budget > $40,000: ${ largeBudget . length } ` ) ;
172- largeBudget . forEach ( p => console . log ( ` - ${ p . name } : $${ p . budget . toLocaleString ( ) } ` ) ) ;
172+ largeBudget . forEach ( ( p : any ) => console . log ( ` - ${ p . name } : $${ p . budget . toLocaleString ( ) } ` ) ) ;
173173
174174 // Sort by budget (descending)
175175 const sortedByBudget = await projects . find ( {
176176 sort : [ [ 'budget' , 'desc' ] ]
177177 } ) ;
178178 console . log ( `\n📈 Projects sorted by budget (desc):` ) ;
179- sortedByBudget . forEach ( p => console . log ( ` - ${ p . name } : $${ p . budget . toLocaleString ( ) } ` ) ) ;
179+ sortedByBudget . forEach ( ( p : any ) => console . log ( ` - ${ p . name } : $${ p . budget . toLocaleString ( ) } ` ) ) ;
180180
181181 // ====================================================================
182182 // Step 6: Update Example
0 commit comments