typings: add back accidental removal (#3984)

This commit is contained in:
Sugden
2020-03-23 07:30:04 +00:00
committed by GitHub
parent 993411d9fe
commit 5da734c3d4

2
typings/index.d.ts vendored
View File

@@ -2783,7 +2783,7 @@ declare module 'discord.js' {
} & {
[K in keyof Omit<
T,
'client' | 'createdAt' | 'createdTimestamp' | 'id' | 'partial' | 'fetch'
'client' | 'createdAt' | 'createdTimestamp' | 'id' | 'partial' | 'fetch' | O
>]: // tslint:disable-next-line:ban-types
T[K] extends Function ? T[K] : T[K] | null;
};