Rename parameters to match TypeScript naming conventions