Type string trivially inferred from a string literal, remove type annotation @typescript-eslint

NoSuchKey