import type { ParserServices } from '@typescript-eslint/experimental-utils' ; export type RequiredParserServices = { [ k in keyof ParserServices ] : Exclude < ParserServices [ k ] , undefined > ; } ; export function isRequiredParserServices ( services ) { return services ?. hasFullTypeInformation === true ; }