I am trying to use Typescript in Dojo Toolkit. I started exploring, I am writing to hear if anyone did this attempt and succeeded. pls let me know about it( First of all , Is this feasible ).
I am facing problems like.
- could not use dojo functions
import * as domconstruct from ‘dojo/dom-construct’ it throws it is not a module to export.
- var domconstruct = require(‘dojo/dom-construct’);
“require is not define”
i understand the reason for 1st one as it is not exporting anything to import. but 2nd one I am not sure. Also I am using AMD as my typescript module loader.