@angular/language-service
Version:
Angular - language services
11 lines (10 loc) • 425 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import type ts from 'typescript';
import { ReflectionHost } from '@angular/compiler-cli/src/ngtsc/reflection';
export declare function isDirectiveOrComponent(node: ts.ClassDeclaration, reflector: ReflectionHost): boolean;