How to import a code editor's javascript files from node-modules in ionic3

#1

hi,
i’m working on ionic 3 and i want to use an editor that is written in javascript.
i’m using this editor:https://github.com/ajaxorg/ace-builds
i installed it successfully via npm install ace-builds.now my question is that can i import it to my src folder in a page or mod? i know that in ionic 3 javascript cannot be used anymore. but does ace.d.ts change the situation or not?