Skip to content

Commit bacc11e

Browse files
committed
No need to export CompleteEnvInfoFunction
1 parent d7fe660 commit bacc11e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/client/pythonEnvironments/base/envsCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface IEnvsCache {
4848
flush(): Promise<void>;
4949
}
5050

51-
export type CompleteEnvInfoFunction = (envInfo: PythonEnvInfo) => boolean;
51+
type CompleteEnvInfoFunction = (envInfo: PythonEnvInfo) => boolean;
5252

5353
export class PythonEnvInfoCache implements IEnvsCache {
5454
private initialized = false;

src/test/pythonEnvironments/base/envsCache.unit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import * as assert from 'assert';
55
import * as sinon from 'sinon';
6-
import { CompleteEnvInfoFunction, PythonEnvInfoCache } from '../../../client/pythonEnvironments/base/envsCache';
6+
import { PythonEnvInfoCache } from '../../../client/pythonEnvironments/base/envsCache';
77
import { PythonEnvInfo, PythonEnvKind } from '../../../client/pythonEnvironments/base/info';
88
import * as externalDependencies from '../../../client/pythonEnvironments/common/externalDependencies';
99
import * as envInfo from '../../../client/pythonEnvironments/info';
@@ -13,7 +13,7 @@ suite('Environment Info cache', () => {
1313
let areSameEnvironmentStub: sinon.SinonStub;
1414
let updatedValues: PythonEnvInfo[] | undefined;
1515

16-
const allEnvsComplete: CompleteEnvInfoFunction = () => true;
16+
const allEnvsComplete = () => true;
1717
const envInfoArray = [
1818
{
1919
id: 'someid1', kind: PythonEnvKind.Conda, name: 'my-conda-env', defaultDisplayName: 'env-one',

0 commit comments

Comments
 (0)