(API) Class & comment readability improvements

This commit is contained in:
DJj123dj
2025-09-14 22:05:30 +02:00
parent 6ce017b407
commit 72f84b2566
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ export interface ODRoleDataJson {
value:ODValidJsonType value:ODValidJsonType
} }
/**## ODRoleDataJson `interface` /**## ODRoleJson `interface`
* The JSON representatation from a single role. * The JSON representatation from a single role.
*/ */
export interface ODRoleJson { export interface ODRoleJson {
+2 -2
View File
@@ -132,14 +132,14 @@ export interface ODTranscriptCompilerIds {
* This default class is made for the global variable `opendiscord.transcripts`! * This default class is made for the global variable `opendiscord.transcripts`!
*/ */
export class ODTranscriptManager_Default extends ODTranscriptManager { export class ODTranscriptManager_Default extends ODTranscriptManager {
get<QuestionId extends keyof ODTranscriptCompilerIds>(id:QuestionId): ODTranscriptCompilerIds[QuestionId] get<CompilerId extends keyof ODTranscriptCompilerIds>(id:CompilerId): ODTranscriptCompilerIds[CompilerId]
get(id:ODValidId): ODTranscriptCompiler<any,null|object>|null get(id:ODValidId): ODTranscriptCompiler<any,null|object>|null
get(id:ODValidId): ODTranscriptCompiler<any,null|object>|null { get(id:ODValidId): ODTranscriptCompiler<any,null|object>|null {
return super.get(id) return super.get(id)
} }
remove<QuestionId extends keyof ODTranscriptCompilerIds>(id:QuestionId): ODTranscriptCompilerIds[QuestionId] remove<CompilerId extends keyof ODTranscriptCompilerIds>(id:CompilerId): ODTranscriptCompilerIds[CompilerId]
remove(id:ODValidId): ODTranscriptCompiler<any,null|object>|null remove(id:ODValidId): ODTranscriptCompiler<any,null|object>|null
remove(id:ODValidId): ODTranscriptCompiler<any,null|object>|null { remove(id:ODValidId): ODTranscriptCompiler<any,null|object>|null {