chore: Enforce consistent type imports via @typescript-eslint/consistent-type-imports (#2545)
This commit is contained in:
committed by
dermotduffy
parent
8f4ebcc0de
commit
7dc29865b8
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { CacheInterface } from './types.js';
|
||||
import type { CacheInterface } from './types.js';
|
||||
|
||||
export class CacheBase<Key, Value> implements CacheInterface<Key, Value> {
|
||||
private _cache: Map<Key, Value>;
|
||||
|
||||
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { EqualityCache } from './equality-cache';
|
||||
import { CacheInterface } from './types';
|
||||
import type { CacheInterface } from './types';
|
||||
|
||||
interface ExpiringValue<Value> {
|
||||
value: Value;
|
||||
|
||||
Reference in New Issue
Block a user