I would like to ask ts how to write d.ts when importing the js file of a single function.

the md5 library is needed in the project, and the front end is not Node,. Because of the project, you can"t use npm and then webpack transfer.

The md5 library used by

is this
https://github.com/blueimp/Ja.

.

used in ts

class Md5 {
    md5(data:string): string;
}

let md5 = new Md5

export let md5 = md5.md5
The current usage of

is very strange. Because this derives the use of md5.md5 ("asaaa").
so I would like to ask how to export directly to the ts file to achieve this effect md5 ("aaa")

Mar.03,2021

export default
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-1b222b7-2b5ea.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-1b222b7-2b5ea.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?