Fixed TypeScript compilation issue.