UNPKG

sinotron

Version:

Simple framework for Typescript Electron projects

9 lines (8 loc) 187 B
type Cls<T = any> = { new (...args: any[]): T; }; export declare const Instance: { get<T>(c: Cls<T>, ...args: any): T; singleton<T>(c: Cls<T>, ...args: any): T; }; export {};