diff --git a/adev/shared-docs/components/search-dialog/search-dialog.component.ts b/adev/shared-docs/components/search-dialog/search-dialog.component.ts index 7602667b1bc..bca6f27a341 100644 --- a/adev/shared-docs/components/search-dialog/search-dialog.component.ts +++ b/adev/shared-docs/components/search-dialog/search-dialog.component.ts @@ -84,7 +84,7 @@ export class SearchDialog { this.searchQuery.set(value); }); - // Thinkig about refactoring this to a single afterRenderEffect ? + // Thinking about refactoring this to a single afterRenderEffect ? // Answer: It won't have the same behavior effect(() => { this.items(); diff --git a/adev/shared-docs/components/viewers/docs-viewer/docs-viewer.component.ts b/adev/shared-docs/components/viewers/docs-viewer/docs-viewer.component.ts index f49f046d0a9..574698bc6df 100644 --- a/adev/shared-docs/components/viewers/docs-viewer/docs-viewer.component.ts +++ b/adev/shared-docs/components/viewers/docs-viewer/docs-viewer.component.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.dev/license */ -import {CommonModule, DOCUMENT, isPlatformBrowser, Location} from '@angular/common'; +import {DOCUMENT, isPlatformBrowser, Location} from '@angular/common'; import { ApplicationRef, ChangeDetectionStrategy, @@ -18,9 +18,7 @@ import { EnvironmentInjector, inject, Injector, - Input, PLATFORM_ID, - SimpleChanges, Type, ViewContainerRef, ViewEncapsulation, diff --git a/adev/shared-docs/services/table-of-contents-loader.service.ts b/adev/shared-docs/services/table-of-contents-loader.service.ts index e3fb9153c5b..de84933cd79 100644 --- a/adev/shared-docs/services/table-of-contents-loader.service.ts +++ b/adev/shared-docs/services/table-of-contents-loader.service.ts @@ -7,10 +7,9 @@ */ import {DOCUMENT} from '@angular/common'; -import {inject, signal, Injectable, PLATFORM_ID, DestroyRef} from '@angular/core'; +import {inject, signal, Injectable, DestroyRef} from '@angular/core'; import {TableOfContentsItem, TableOfContentsLevel} from '../interfaces/index'; -import {on} from 'events'; /** * Name of an attribute that is set on an element that should be