diff --git a/package.json b/package.json index ea2476d8..9d857e46 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ ] }, "devDependencies": { - "@tanstack/config": "^0.13.0", + "@tanstack/config": "^0.13.1", "@testing-library/jest-dom": "^6.5.0", "@types/node": "^18.19.3", "eslint": "^9.9.1", diff --git a/packages/angular-virtual/src/index.ts b/packages/angular-virtual/src/index.ts index c5a1f6fc..f3498772 100644 --- a/packages/angular-virtual/src/index.ts +++ b/packages/angular-virtual/src/index.ts @@ -1,8 +1,6 @@ import { AfterRenderPhase, DestroyRef, - type ElementRef, - type Signal, afterNextRender, computed, effect, @@ -11,9 +9,7 @@ import { untracked, } from '@angular/core' import { - type PartialKeys, Virtualizer, - type VirtualizerOptions, elementScroll, observeElementOffset, observeElementRect, @@ -22,6 +18,8 @@ import { windowScroll, } from '@tanstack/virtual-core' import { proxyVirtualizer } from './proxy' +import type { ElementRef, Signal } from '@angular/core' +import type { PartialKeys, VirtualizerOptions } from '@tanstack/virtual-core' import type { AngularVirtualizer } from './types' export * from '@tanstack/virtual-core' diff --git a/packages/angular-virtual/src/proxy.ts b/packages/angular-virtual/src/proxy.ts index 807d0c23..1664b58e 100644 --- a/packages/angular-virtual/src/proxy.ts +++ b/packages/angular-virtual/src/proxy.ts @@ -1,11 +1,7 @@ -import { - type Signal, - type WritableSignal, - computed, - untracked, -} from '@angular/core' -import { type Virtualizer } from '@tanstack/virtual-core' -import { type AngularVirtualizer } from './types' +import { computed, untracked } from '@angular/core' +import type { Signal, WritableSignal } from '@angular/core' +import type { Virtualizer } from '@tanstack/virtual-core' +import type { AngularVirtualizer } from './types' export function proxyVirtualizer< V extends Virtualizer, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c861cd5..fddf2542 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: devDependencies: '@tanstack/config': - specifier: ^0.13.0 - version: 0.13.0(@types/node@18.19.42)(esbuild@0.21.5)(eslint@9.9.1(jiti@1.21.6))(rollup@4.21.0)(typescript@5.2.2)(vite@5.4.2(@types/node@18.19.42)(less@4.2.0)(sass@1.77.8)(terser@5.29.1)) + specifier: ^0.13.1 + version: 0.13.1(@types/node@18.19.42)(esbuild@0.21.5)(eslint@9.9.1(jiti@1.21.6))(rollup@4.21.0)(typescript@5.2.2)(vite@5.4.2(@types/node@18.19.42)(less@4.2.0)(sass@1.77.8)(terser@5.29.1)) '@testing-library/jest-dom': specifier: ^6.5.0 version: 6.5.0 @@ -3253,8 +3253,8 @@ packages: peerDependencies: '@angular/core': '>=17' - '@tanstack/config@0.13.0': - resolution: {integrity: sha512-vkPmNYH/Ee8Zqn9f0lwB2tyi/Erg9kKmaywQZGBWRfaHwXUGahMWc0S8Fb2iS/SMa8YOkUUl1w79J0hELTY65A==} + '@tanstack/config@0.13.1': + resolution: {integrity: sha512-p8K5lrwZPGjvfPuvP1UxHyucDmdADrHOqzpO/zRAhjqV6uBZBatZ2CTKR8Zlvekmb2bdXKjqBGoiyIuLiT0xTA==} engines: {node: '>=18'} hasBin: true @@ -9683,7 +9683,7 @@ snapshots: '@tanstack/table-core': 8.20.5 tslib: 2.7.0 - '@tanstack/config@0.13.0(@types/node@18.19.42)(esbuild@0.21.5)(eslint@9.9.1(jiti@1.21.6))(rollup@4.21.0)(typescript@5.2.2)(vite@5.4.2(@types/node@18.19.42)(less@4.2.0)(sass@1.77.8)(terser@5.29.1))': + '@tanstack/config@0.13.1(@types/node@18.19.42)(esbuild@0.21.5)(eslint@9.9.1(jiti@1.21.6))(rollup@4.21.0)(typescript@5.2.2)(vite@5.4.2(@types/node@18.19.42)(less@4.2.0)(sass@1.77.8)(terser@5.29.1))': dependencies: '@commitlint/parse': 19.0.3 '@eslint/js': 9.9.1