Notes/src/types.d.ts

33 lines
815 B
TypeScript
Raw Normal View History

/*
* This file contains type definitions for libraries that did not have one
* in its library or in `@types/*` packages.
*/
declare module 'unescape' {
function unescape(str: string, type?: string): string;
export default unescape;
}
declare module 'html2plaintext' {
function html2plaintext(htmlText: string): string;
export default html2plaintext;
}
declare module 'normalize-strings' {
function normalizeString(string: string): string;
export default normalizeString;
2024-02-19 21:59:40 +02:00
}
declare module 'joplin-turndown-plugin-gfm' {
import TurndownService from "turndown";
2024-02-19 21:59:40 +02:00
namespace gfm {
function gfm(service: TurndownService): void;
}
export default gfm;
2024-02-20 23:29:03 +02:00
}
declare module 'is-animated' {
function isAnimated(buffer: Buffer): boolean;
export default isAnimated;
2024-12-22 15:45:54 +02:00
}