My question is how do I import the DNN Service Framework, ,dnnModal, etc. into my Typescript?
The statement: var sf = $.ServicesFramework(mid); throws an error in Typescript. as does dnnModal.
I have not been able to find any Typescript code example for DNN.
The two errors that I have not been able to resolve which are preventing me form compiling are:
(TS) Property 'ServicesFramework' does not exist on type 'JQueryStatic<HTMLElement>'
(TS) Cannot find dnnModal
Any suggested on how to resolve these errors in Typescript would be very much appreciated.
Thanks in advance, Les