UNPKG

typeorm-stubs

Version:
6 lines (5 loc) 228 B
import { ObjectType } from './interfaces'; export declare abstract class Singleton { protected static instance: Singleton; static getInstance<T extends Singleton, P = unknown>(this: ObjectType<T, P>, ...args: P[]): T; }