UNPKG

arky-js

Version:

**Arky.js** is a powerful, annotation-based framework for building serverless applications on **AWS Lambda and API Gateway**. Inspired by Angular and NestJS, Arky.js simplifies serverless development by providing decorators for defining modules, controlle

10 lines (9 loc) 567 B
import { ClassDeclaration, Project } from "ts-morph"; /** * Finds a class by its import path in the original source file. * @param cls The class declaration where the dependency is used. * @param className The name of the dependency class. * @returns The class declaration or undefined if not found. */ export declare function findClassByImport(cls: ClassDeclaration, className: string, project: Project): ClassDeclaration | undefined; export declare function hasDecorator(filePath: string, className: string, decoratorName: string, project?: Project): boolean;