npm.io
0.1.4 • Published 3 years ago

@types/vssln-parser

Licence
MIT
Version
0.1.4
Deps
1
Size
5 kB
Vulns
0
Weekly
0
Stars
51.5K

Installation

npm install --save @types/vssln-parser

Summary

This package contains type definitions for vssln-parser (https://github.com/mhusseini/vssln-parser).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vssln-parser.

index.d.ts

/// <reference types="node" />

import * as fs from "fs";

declare function parse(input: fs.ReadStream | string, callback: (solution: parse.VsSolutionFile) => void): void;

declare namespace parse {
    interface VsSolutionFile extends VsSolutionSection, VsSolutionSectionCollection {
        visualStudioVersion?: string | undefined;
        minimumVisualStudioVersion?: string | undefined;
        projects: VsSolutionProject[];
        solutionConfigurationPlatforms?: VsSolutionSection | undefined;
        projectConfigurationPlatforms?: VsSolutionSection | undefined;
        solutionProperties?: VsSolutionSection | undefined;
        nestedProjects?: VsSolutionSection | undefined;
        teamFoundationVersionControl?: VsSolutionSection | undefined;
    }

    interface VsSolutionProject extends VsSolutionSection, VsSolutionSectionCollection {
        name: string;
        type: string;
        projectGuid: string;
        typeGuid: string;
        path: string;
        projectDependencies?: VsSolutionSection | undefined;
    }

    interface VsSolutionSection {
        [index: string]: any;
    }

    interface VsSolutionSectionCollection {
        [index: string]: VsSolutionSection;
    }
}

export = parse;

Additional Details

  • Last updated: Tue, 07 Nov 2023 1536 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Erik Källén.