UNPKG

@exadel/esl

Version:

Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components

20 lines (19 loc) 678 B
/** * Method to manually declare key in library namespace * See {@link ExportNs} decorator for details */ export declare const exportNs: (name: string, module: any) => void; /** * Decorator to declare function or class in a global ns * @param name - key path to declare in ESL global ns * NOTE: path parts should be separated by dots * @example * ```ts * @Export('Package.Component') * ``` * NOTE: in case declaration contains components-packages, their origins will be mixed with declaration in a Runtime */ export declare function ExportNs<T extends Function>(name?: string): (module: T) => void; export declare namespace ExportNs { var declare: () => void; }