require.js definitions for typescript