Skip to content

Commit 9134667

Browse files
committed
Remove export
1 parent 3c6cdb6 commit 9134667

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/@glimmer/validator/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (Reflect.has(globalThis, GLIMMER_VALIDATOR_REGISTRATION)) {
88

99
Reflect.set(globalThis, GLIMMER_VALIDATOR_REGISTRATION, true);
1010

11-
export { TrackedArray, trackedArray } from './lib/collections/array';
11+
export { trackedArray } from './lib/collections/array';
1212
export { debug } from './lib/debug';
1313
export { dirtyTagFor, tagFor, type TagMeta, tagMetaFor } from './lib/meta';
1414
export { trackedData } from './lib/tracked-data';

packages/@glimmer/validator/lib/collections/array.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function convertToInt(prop: number | string | symbol): number | null {
4848
}
4949

5050
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
51-
export class TrackedArray<T = unknown> {
51+
class TrackedArray<T = unknown> {
5252
#options: { equals: (a: T, b: T) => boolean; description: string | undefined };
5353

5454
constructor(
@@ -192,7 +192,7 @@ export class TrackedArray<T = unknown> {
192192
//
193193

194194
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
195-
export interface TrackedArray<T = unknown> extends Array<T> {}
195+
interface TrackedArray<T = unknown> extends Array<T> {}
196196

197197
// Ensure instanceof works correctly
198198
Object.setPrototypeOf(TrackedArray.prototype, Array.prototype);

0 commit comments

Comments
 (0)