Skip to content

Commit a7d85c8

Browse files
committed
fix: add type annotations for imports in cachedFileSystem and logging modules
1 parent 6de37dd commit a7d85c8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

packages/core/src/fs/cachedFileSystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { cache, clearCache } from '@vlocode/util';
2-
import { FileInfo, FileStat, FileSystem, StatsOptions, WriteOptions } from './fileSystem';
2+
import { type FileInfo, type FileStat, FileSystem, type StatsOptions, type WriteOptions } from './fileSystem';
33

44
/**
55
* Decorate any existing file system with caching functionality; caches the write and stat operations towards the target file system.

packages/core/src/logging/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export interface ILogger {
2525
debug(...args: any[]): void;
2626
}
2727

28-
export { Logger, LogFilter, LogWriter } from './logger';
29-
export { LogEntry } from './logEntry';
28+
export { Logger, type LogFilter, type LogWriter } from './logger';
29+
export { type LogEntry } from './logEntry';
3030
export * from './distinctLogger';
3131
export * from './logManager';
3232

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"moduleResolution": "node",
1212
"esModuleInterop": true,
1313
"resolveJsonModule": true,
14+
"isolatedModules": false,
1415
"noUnusedLocals": false,
1516
"emitDecoratorMetadata": true,
1617
"experimentalDecorators": true,

0 commit comments

Comments
 (0)