interface W { requireModule: (moduleName: string) => any; } declare let w: W; export default w;