UNPKG

dt-app

Version:

The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.

12 lines (11 loc) 707 B
import type { Symbol as TsSymbol, TypeChecker } from 'typescript'; import type { Typescript } from '../../build/utils/import-typescript'; /** Result of resolving a JSX tag back through aliases / wrappers to a strato component. */ export type StratoOrigin = { stratoPackage: string; originalName: string; wrapperPackage?: string; wasStyled?: boolean; }; /** Walks alias chain step-by-step (so we can detect wrapper packages), then inspects composition wrappers. */ export declare function resolveStratoOrigin(symbol: TsSymbol | undefined, checker: TypeChecker, ts: Typescript, visited?: Set<string>, depth?: number, inheritedWrapper?: string, inheritedStyled?: boolean): StratoOrigin | null;