server-esm: Change single export to export default

This commit is contained in:
Elian Doran
2024-07-18 21:50:12 +03:00
parent 0ceae0a65e
commit ecb8a7f394
63 changed files with 73 additions and 73 deletions

10
src/types.d.ts vendored
View File

@@ -5,17 +5,17 @@
declare module 'unescape' {
function unescape(str: string, type?: string): string;
export = unescape;
export default unescape;
}
declare module 'html2plaintext' {
function html2plaintext(htmlText: string): string;
export = html2plaintext;
export default html2plaintext;
}
declare module 'normalize-strings' {
function normalizeString(string: string): string;
export = normalizeString;
export default normalizeString;
}
declare module 'joplin-turndown-plugin-gfm' {
@@ -23,10 +23,10 @@ declare module 'joplin-turndown-plugin-gfm' {
namespace gfm {
function gfm(service: TurndownService): void;
}
export = gfm;
export default gfm;
}
declare module 'is-animated' {
function isAnimated(buffer: Buffer): boolean;
export = isAnimated;
export default isAnimated;
}