We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aae6687 commit 90335b3Copy full SHA for 90335b3
server/types/apiKey.ts
@@ -15,8 +15,8 @@ export interface IApiKey extends VirtualId, MongooseTimestamps {
15
export interface ApiKeyDocument
16
extends IApiKey,
17
Omit<Document<Types.ObjectId>, 'id'> {
18
- toJSON(options?: any): SanitisedApiKey;
19
- toObject(options?: any): SanitisedApiKey;
+ toJSON(options?: any): IApiKey;
+ toObject(options?: any): IApiKey;
20
}
21
22
/**
0 commit comments