In vue's TypeScript project, how to add a new declaration file (.d.ts) that contains the "declaration module 'sha256'"

problem description

vue-cli3.0TypeScriptTypeScriptsha256npm

the environmental background of the problems and what methods you have tried

npmsha256import
[ts]
"sha256" "/Users/wangjie/Desktop/ts/web/node_modules/_sha256@0.2.0@sha256/lib/nodecrypto.js"  "any" 
   "npm install @types/sha256" ()" "sha256" " (.d.ts);

node-rsa"npm install @types/node-rsa"sha256" "sha256" " (.d.ts)


what result do you expect? What is the error message actually seen?

sha256(.d.ts)
Jul.01,2021
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-1b17e5a-2b0da.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-1b17e5a-2b0da.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?