How to fix Type information for @typescript-eslint rule unavailable in TypeScript | DevErrors