From b3b105b47c53205d522678ac270e6f49c9fb767f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Mon, 18 Nov 2024 16:16:25 +0100 Subject: [PATCH] Update the TS typings --- src/author.d.ts | 6 ------ src/blog.d.ts | 6 ------ src/comment.d.ts | 6 ------ 3 files changed, 18 deletions(-) diff --git a/src/author.d.ts b/src/author.d.ts index 29ab17f..00e74af 100644 --- a/src/author.d.ts +++ b/src/author.d.ts @@ -45,12 +45,6 @@ export class Author { * @returns The instance corresponding to the specified JSON object. */ static fromJson(json: Record): Author; - - /** - * Returns a JSON representation of this object. - * @returns The JSON representation of this object. - */ - toJSON(): Record; } /** diff --git a/src/blog.d.ts b/src/blog.d.ts index 2cb85ec..5edf374 100644 --- a/src/blog.d.ts +++ b/src/blog.d.ts @@ -30,12 +30,6 @@ export class Blog { * @returns The instance corresponding to the specified JSON object. */ static fromJson(json: Record): Blog; - - /** - * Returns a JSON representation of this object. - * @returns The JSON representation of this object. - */ - toJSON(): Record; } /** diff --git a/src/comment.d.ts b/src/comment.d.ts index d5b262f..3ccb707 100644 --- a/src/comment.d.ts +++ b/src/comment.d.ts @@ -62,12 +62,6 @@ export class Comment { * @returns The instance corresponding to the specified JSON object. */ static fromJson(json: Record): Comment; - - /** - * Returns a JSON representation of this object. - * @returns The JSON representation of this object. - */ - toJSON(): Record; } /**