File tree Expand file tree Collapse file tree 8 files changed +7
-11
lines changed
Expand file tree Collapse file tree 8 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 1- import { ApplicationConfig } from '@angular/core'
1+ import type { ApplicationConfig } from '@angular/core'
22import { provideRouter } from '@angular/router'
33import { routes } from './app.routes'
44
Original file line number Diff line number Diff line change 1- import { Routes } from '@angular/router'
1+ import type { Routes } from '@angular/router'
22import { MeasureElementComponent } from './measure-element.component'
33import { SmoothScrollComponent } from './smooth-scroll.component'
44import { ScrollComponent } from './scroll.component'
Original file line number Diff line number Diff line change 11import {
22 ChangeDetectionStrategy ,
33 Component ,
4- ElementRef ,
54 afterRenderEffect ,
65 signal ,
76 viewChild ,
87 viewChildren ,
98} from '@angular/core'
9+ import type { ElementRef } from '@angular/core'
1010import { injectVirtualizer } from '@tanstack/angular-virtual'
1111
1212interface Item {
Original file line number Diff line number Diff line change 11import {
22 ChangeDetectionStrategy ,
33 Component ,
4- ElementRef ,
54 afterRenderEffect ,
65 viewChild ,
76 viewChildren ,
87} from '@angular/core'
8+ import type { ElementRef } from '@angular/core'
99import { injectVirtualizer } from '@tanstack/angular-virtual'
1010
1111function getRandomInt ( min : number , max : number ) {
Original file line number Diff line number Diff line change 11import {
22 ChangeDetectionStrategy ,
33 Component ,
4- ElementRef ,
54 afterRenderEffect ,
65 viewChild ,
76 viewChildren ,
87} from '@angular/core'
8+ import type { ElementRef } from '@angular/core'
99import { injectVirtualizer } from '@tanstack/angular-virtual'
1010
1111function getRandomInt ( min : number , max : number ) {
Original file line number Diff line number Diff line change 11import {
22 ChangeDetectionStrategy ,
33 Component ,
4- ElementRef ,
54 afterRenderEffect ,
65 signal ,
76 viewChild ,
87 viewChildren ,
98} from '@angular/core'
9+ import type { ElementRef } from '@angular/core'
1010import { injectVirtualizer } from '@tanstack/angular-virtual'
1111
1212interface Item {
Original file line number Diff line number Diff line change 3636 },
3737 "./package.json" : " ./package.json"
3838 },
39- "engines" : {
40- "node" : " >=12"
41- },
4239 "files" : [
4340 " dist" ,
4441 " src"
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export function signalProxy<
7676 // input or model signals from a component and this is accessed before initialization.
7777 return untracked ( inputSignal ) [ property as keyof TInput ]
7878 } ,
79- has ( _ , property : string ) {
79+ has ( _ , property : PropertyKey ) {
8080 return property in untracked ( inputSignal )
8181 } ,
8282 ownKeys ( ) {
@@ -86,7 +86,6 @@ export function signalProxy<
8686 return {
8787 enumerable : true ,
8888 configurable : true ,
89- writable : true ,
9089 }
9190 } ,
9291 } ) as SignalProxy <
You can’t perform that action at this time.
0 commit comments