Skip to content

Commit

Permalink
fix: no optional for strict js usage
Browse files Browse the repository at this point in the history
  • Loading branch information
lostfields committed Jun 23, 2024
1 parent b618416 commit ac461f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linq/enumerable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class Enumerable<TEntity extends Entity> extends Base<TEntity> {
* @param predicate javascript expression
* @param parameters any javascript parameters has to be declared
*/
public where(predicate: (it: TEntity, ...param: any[]) => boolean, ...param: any[]): this
public where(predicate: (it: Required<TEntity>, ...param: any[]) => boolean, ...param: any[]): this
public where(predicate: any, ...param: any[]): this {
this.operators.push(<LinqOperator<TEntity>>whereOperator(predicate, ...param))

Expand Down

0 comments on commit ac461f4

Please sign in to comment.