This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
// typeTools.ts | |
// https://stackoverflow.com/a/46944148 | |
interface Func<T> { | |
([...args]: any, args2?: any): T // tslint:disable-line | |
} | |
export function returnType<T>(func: Func<T>): T { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package modules | |
import java.io.{FileInputStream, InputStream} | |
import javax.inject.{Inject, Provider, Singleton} | |
import play.api.db.DBApi | |
import play.api.{Configuration, Environment} | |
//import play.Environment | |
import play.api.db.evolutions._ | |
import play.api.inject.{Injector, Module} |