UNPKG
@sloughrey/mock-typeorm
Version:
latest (1.0.0)
1.0.0
Never hit the database again while testing
mock-typeorm-docs.vercel.app
@sloughrey/mock-typeorm
/
dist
/
types
/
constants
/
dataSource.d.ts
6 lines
(5 loc)
•
235 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
DataSource
}
from
"typeorm"
;
export
type
DataSourceMethods
= keyof { [K
in
keyof
DataSource
as
DataSource
[K]
extends
(...
args
:
any
[]) =>
any
? K :
never
]: K; };
export
declare
const
dataSourceMethods
:
DataSourceMethods
[];