Skip to content

Commit c79abfe

Browse files
committed
chore: clean up import type
1 parent 70f66e8 commit c79abfe

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

libs/angular-three/src/lib/di/ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
switchMap,
1212
takeUntil,
1313
} from 'rxjs';
14-
import { NgtAnyRecord, NgtInstanceNode } from '../types';
14+
import type { NgtAnyRecord, NgtInstanceNode } from '../types';
1515
import { getLocalState } from '../utils/instance';
1616
import { is } from '../utils/is';
1717
import { injectNgtDestroy } from './destroy';

libs/angular-three/src/lib/loop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { NgtRxStore } from './stores/rx-store';
2-
import { NgtState } from './types';
2+
import type { NgtState } from './types';
33

44
export type NgtGlobalRenderCallback = (timestamp: number) => void;
55
type NgtSubItem = { callback: NgtGlobalRenderCallback };

libs/angular-three/src/lib/renderer/state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ChangeDetectorRef, getDebugNode, Injector, Type } from '@angular/core';
22
import { NgtArgs } from '../directives/args';
33
import { NgtStore } from '../stores/store';
4-
import { NgtAnyRecord } from '../types';
4+
import type { NgtAnyRecord } from '../types';
55
import { applyProps } from '../utils/apply-props';
66
import { getLocalState } from '../utils/instance';
77
import { is } from '../utils/is';

libs/angular-three/src/lib/renderer/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
22
import { removeInteractivity } from '../events';
3-
import { NgtEventHandlers, NgtInstanceNode } from '../types';
3+
import type { NgtEventHandlers, NgtInstanceNode } from '../types';
44
import { attach, detach } from '../utils/attach';
55
import { getLocalState, invalidateInstance } from '../utils/instance';
66
import { is } from '../utils/is';

libs/angular-three/src/lib/stores/rx-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Injectable } from '@angular/core';
22
import { RxState } from '@rx-angular/state';
33
import { MonoTypeOperatorFunction, Observable, startWith, tap } from 'rxjs';
4-
import { NgtAnyRecord } from '../types';
4+
import type { NgtAnyRecord } from '../types';
55
import { is } from '../utils/is';
66

77
export const startWithUndefined = <T>(): MonoTypeOperatorFunction<T> => startWith<T>(undefined! as T);

libs/angular-three/src/lib/utils/apply-props.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as THREE from 'three';
2-
import { NgtAnyRecord, NgtInstanceNode } from '../types';
2+
import type { NgtAnyRecord, NgtInstanceNode } from '../types';
33
import { getLocalState, invalidateInstance } from './instance';
44
import { is } from './is';
55
import { checkUpdate } from './update';

libs/angular-three/src/lib/utils/attach.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { NgtAnyRecord, NgtAttachFunction } from '../types';
1+
import type { NgtAnyRecord, NgtAttachFunction } from '../types';
22
import { applyProps } from './apply-props';
33
import { getLocalState } from './instance';
44

libs/angular-three/src/lib/web/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createEvents } from '../events';
22
import { NgtRxStore } from '../stores/rx-store';
3-
import { NgtAnyRecord, NgtDomEvent, NgtEventManager, NgtEvents, NgtState } from '../types';
3+
import type { NgtAnyRecord, NgtDomEvent, NgtEventManager, NgtEvents, NgtState } from '../types';
44

55
const DOM_EVENTS = {
66
click: false,

0 commit comments

Comments
 (0)