forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
22 lines (16 loc) · 1021 Bytes
/
types.ts
File metadata and controls
22 lines (16 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
'use strict';
import type { IEventNamePropertyMapping } from './index';
import { EventName } from './constants';
export type EditorLoadTelemetry = IEventNamePropertyMapping[EventName.EDITOR_LOAD];
export type LinterTrigger = 'auto' | 'save';
export type LintingTelemetry = IEventNamePropertyMapping[EventName.LINTING];
export type PythonInterpreterTelemetry = IEventNamePropertyMapping[EventName.PYTHON_INTERPRETER];
export type DebuggerTelemetry = IEventNamePropertyMapping[EventName.DEBUGGER];
export type TestTool = 'nosetest' | 'pytest' | 'unittest';
export type TestRunTelemetry = IEventNamePropertyMapping[EventName.UNITTEST_RUN];
export type TestDiscoveryTelemetry = IEventNamePropertyMapping[EventName.UNITTEST_DISCOVER];
export type TestConfiguringTelemetry = IEventNamePropertyMapping[EventName.UNITTEST_CONFIGURING];
export const IImportTracker = Symbol('IImportTracker');
export interface IImportTracker {}