First, your hash.js file should be hash.ts. Then you can import crypto and use it normally. Related code below: ... npm install crypto - ts.
確定! 回上一頁