import type * as ts from 'typescript' ; import { InterfaceOrClassDeclaration } from '../scope/scope' ; import { core } from '../core/core' ; export type GenericDeclarationSupported = InterfaceOrClassDeclaration ; export function extensionExpressionSupported ( expression ) { return ! core . ts . isCallExpression ( expression ) ; }