Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const getRepo = async <T extends new() => T> (repo : {new(): T}) : Promise<Repository<T>> {
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement