@biesbjerg/ngx-translate-extract
Version:
Extract strings from projects using ngx-translate
9 lines (8 loc) • 535 B
TypeScript
import { ClassDeclaration, CallExpression } from 'typescript';
import { ParserInterface } from './parser.interface';
import { TranslationCollection } from '../utils/translation.collection';
export declare class ServiceParser implements ParserInterface {
extract(source: string, filePath: string): TranslationCollection | null;
protected findConstructorParamCallExpressions(classDeclaration: ClassDeclaration): CallExpression[];
protected findPropertyCallExpressions(classDeclaration: ClassDeclaration): CallExpression[];
}