Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused private members from TypeScript files #2890

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { Question } from 'realtime-server/lib/esm/scriptureforge/models/question
import { toStartAndEndVerseRefs } from 'realtime-server/lib/esm/scriptureforge/models/verse-ref-data';
import { DialogService } from 'xforge-common/dialog.service';
import { I18nService } from 'xforge-common/i18n.service';
import { NoticeService } from 'xforge-common/notice.service';
import { SubscriptionDisposable } from 'xforge-common/subscription-disposable';
import { QuestionDoc } from '../../core/models/question-doc';
import { SFProjectProfileDoc } from '../../core/models/sf-project-profile-doc';
Expand Down Expand Up @@ -63,7 +62,6 @@ export class QuestionDialogComponent extends SubscriptionDisposable implements O
constructor(
private readonly dialogRef: MatDialogRef<QuestionDialogComponent, QuestionDialogResult | 'close'>,
@Inject(MAT_DIALOG_DATA) private data: QuestionDialogData,
private noticeService: NoticeService,
readonly i18n: I18nService,
readonly dialogService: DialogService
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {
AfterViewInit,
ChangeDetectorRef,
Component,
DestroyRef,
ElementRef,
EventEmitter,
Input,
Expand Down Expand Up @@ -246,7 +245,6 @@ export class TextComponent extends SubscriptionDisposable implements AfterViewIn
private _placeholder?: string;
private currentUserDoc?: UserDoc;
private readonly cursorColorStorageKey = 'cursor_color';
private displayMessage: string = '';
private isDestroyed: boolean = false;
private localPresenceChannel?: LocalPresence<PresenceData>;
private localPresenceDoc?: LocalPresence<RangeStatic | null>;
Expand All @@ -266,7 +264,6 @@ export class TextComponent extends SubscriptionDisposable implements AfterViewIn
private readonly transloco: TranslocoService,
private readonly userService: UserService,
private readonly viewModel: TextViewModel,
private readonly destroyRef: DestroyRef,
private readonly textDocService: TextDocService
) {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { filterNullish } from 'xforge-common/util/rxjs-util';
import { isString } from '../../../../type-utils';
import { Delta, TextDocId } from '../../../core/models/text-doc';
import { SFProjectService } from '../../../core/sf-project.service';
import { TextDocService } from '../../../core/text-doc.service';
import { TextComponent } from '../../../shared/text/text.component';
import { DraftGenerationService } from '../../draft-generation/draft-generation.service';
import { DraftHandlingService } from '../../draft-generation/draft-handling.service';
Expand Down Expand Up @@ -68,8 +67,7 @@ export class EditorDraftComponent implements AfterViewInit, OnChanges {
readonly fontService: FontService,
private readonly i18n: I18nService,
private readonly projectService: SFProjectService,
readonly onlineStatusService: OnlineStatusService,
private readonly textDocService: TextDocService
readonly onlineStatusService: OnlineStatusService
) {}

ngOnChanges(): void {
Expand Down
Loading