import { KeyAliasSchema } from '@typedorm/common' ; export function isKeyOfTypeAliasSchema < Entity = any > ( key ) { return ! ! ( typeof ( key as KeyAliasSchema < Entity > ) === 'object' && ( key as KeyAliasSchema < Entity > ) . alias ) ; }