I have an ASP.NET Core MVC project that needs to have masks on some inputs.
I installed the jquery-mask-plugin using the instructions for Typescript, so just used this in the console:
npm install --save-dev @types/jquery-mask-plugin
When I try to use the code
$("#inputID").mask('AAAAAAAAAA');
in the app, I get this error in devtools when running the project:
Uncaught TypeError: $(...).mask is not a function
Am I using this wrong because it is typescript? My version is 4.1.3