Hi, In TypeScript file, i use import('qrcode-generator') but there is an error of 'can't find the moudle' while i change 'import' into 'require' and it works. But since we start to use TypeScript2.0, we will not use require.
I think it may because there doesn't refer to the .d.ts file in the package.json.
Please resolve it.
Thank you!
Hi, In TypeScript file, i use import('qrcode-generator') but there is an error of 'can't find the moudle' while i change 'import' into 'require' and it works. But since we start to use TypeScript2.0, we will not use require. I think it may because there doesn't refer to the .d.ts file in the package.json. Please resolve it. Thank you!