From 17eae1b6479bade232b930abe37b0367e52b4974 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Mon, 7 Sep 2020 17:48:39 +0200 Subject: [PATCH] comment --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 35e05f5..a43ae36 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,6 +10,7 @@ export abstract class BaseEntity { return orm.em.getRepository(this) } + // Native Functions static count(this: ObjectType, ...args: Parameters['count']>): ReturnType['count']> { return (this as any).getRepo().count(...args) }