Module path problem after typescript compiles from d.ts of a third-party library to amd mode

1. For example, after npm installs crypto-js and its d.ts declaration file, js, compiled into AMD mode cannot find the crypto-js module

Code structure
clipboard.png

index.ts crypto-jsd.ts

clipboard.png

clipboard.png

The path of

crypto-js is actually under node_modules/crypto-js, so you can"t find it.

do I have to write reqiure.config to configure the paths? of the module? Isn"t it troublesome if you have too much? is there any solution?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eac6b2-20d9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eac6b2-20d9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?