microsoft/vscode-react-native

Public

mirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
1.7.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/extension/debuggingConfiguration/configurationProviders/baseConfigProvider.ts

20lines · modepreview

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.

import { MultiStepInput, InputStep } from "../multiStepInput";
import { DebugConfigurationState } from "../debugConfigTypesAndConstants";
import { ConfigurationProviderHelper } from "../../../common/configurationProviderHelper";

export abstract class BaseConfigProvider {
    protected configurationProviderHelper: ConfigurationProviderHelper;
    protected maxStepCount: number;

    constructor() {
        this.configurationProviderHelper = new ConfigurationProviderHelper();
    }

    public abstract buildConfiguration(
        input: MultiStepInput<DebugConfigurationState>,
        state: DebugConfigurationState,
    ): Promise<InputStep<DebugConfigurationState> | void>;
}