Notes/apps/server/types.d.ts

33 lines
816 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.
*/
2025-01-09 18:07:02 +02:00
declare module "unescape" {
function unescape(str: string, type?: string): string;
export default unescape;
}
2025-01-09 18:07:02 +02:00
declare module "html2plaintext" {
function html2plaintext(htmlText: string): string;
export default html2plaintext;
}
2025-01-09 18:07:02 +02:00
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
}
2025-01-09 18:07:02 +02:00
declare module "is-animated" {
2024-02-20 23:29:03 +02:00
function isAnimated(buffer: Buffer): boolean;
export default isAnimated;
2024-12-22 15:45:54 +02:00
}