import Setting from '../models/Setting'; interface Script { exec: ()=> Promise; } const script: Script =