diff --git a/src/linq/enumerable.ts b/src/linq/enumerable.ts index 917f075..e49ef0d 100644 --- a/src/linq/enumerable.ts +++ b/src/linq/enumerable.ts @@ -159,7 +159,7 @@ export class Enumerable extends Base { * A rewrite of previous where/orderBy to a new identifier name, where members is seperated with dot. * @param rewrites array of rewrite from a identifier name to a new one, with a possibility convert the value as well */ - public rewrite>(...rewrites: { from: string, to?: string, rewriteValue?: (value: any) => any }[]): Enumerable + public rewrite>(...rewrites: { from: string, to?: string, convert?: (value: any) => any }[]): Enumerable /** * A rewrite of previous where/orderBy to a new identifier name, where members is seperated with dot. * @param rewrites array of rewrite from a identifier name to a new one, with a possibility convert the value as well