
I can introduce it normally in img, but I can"t find out how to solve this module in this typescript.

I can introduce it normally in img, but I can"t find out how to solve this module in this typescript.
declare function require(string): string;
const img1 = require('../assets/img1.png'); Previous: Vuex and browser caching
Next: Vue init webpack project error Cannot read property 'transforms' of null