chore: More typescript FIXME's removed
This commit is contained in:
32
server/typings/index.d.ts
vendored
32
server/typings/index.d.ts
vendored
@@ -8,26 +8,14 @@ declare module "formidable/lib/file";
|
||||
|
||||
declare module "socket.io-client";
|
||||
|
||||
declare module "@tommoor/remove-markdown" {
|
||||
export default function removeMarkdown(
|
||||
text: string,
|
||||
options?: {
|
||||
stripHTML: boolean;
|
||||
}
|
||||
): string;
|
||||
}
|
||||
|
||||
declare module "socket.io-redis" {
|
||||
import { Redis } from "ioredis";
|
||||
|
||||
type Config = {
|
||||
pubClient: Redis;
|
||||
subClient: Redis;
|
||||
};
|
||||
|
||||
const socketRedisAdapter: (config: Config) => void;
|
||||
|
||||
export = socketRedisAdapter;
|
||||
}
|
||||
|
||||
declare module "oy-vey";
|
||||
|
||||
declare module "fetch-test-server";
|
||||
|
||||
declare module "joplin-turndown-plugin-gfm" {
|
||||
import { Plugin } from "turndown";
|
||||
|
||||
export const strikethrough: Plugin;
|
||||
|
||||
export const tables: Plugin;
|
||||
}
|
||||
|
||||
12
server/typings/socketio-redis.d.ts
vendored
Normal file
12
server/typings/socketio-redis.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
declare module "socket.io-redis" {
|
||||
import { Redis } from "ioredis";
|
||||
|
||||
type Config = {
|
||||
pubClient: Redis;
|
||||
subClient: Redis;
|
||||
};
|
||||
|
||||
const socketRedisAdapter: (config: Config) => void;
|
||||
|
||||
export = socketRedisAdapter;
|
||||
}
|
||||
8
server/typings/tommoor__remove-markdown.d.ts
vendored
Normal file
8
server/typings/tommoor__remove-markdown.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
declare module "@tommoor/remove-markdown" {
|
||||
export default function removeMarkdown(
|
||||
text: string,
|
||||
options?: {
|
||||
stripHTML: boolean;
|
||||
}
|
||||
): string;
|
||||
}
|
||||
Reference in New Issue
Block a user