@types/donna
TypeScript icon, indicating that this package has built-in type declarations

0.0.32 • Public • Published

Installation

npm install --save @types/donna

Summary

This package contains type definitions for donna (https://github.com/atom/donna).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/donna.

index.d.ts

// Type definitions for donna
// Project: https://github.com/atom/donna
// Definitions by: vvakame <https://github.com/vvakame>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export function generateMetadata(modules: string[]): DonnaTypes.Metadata;

declare namespace DonnaTypes {
    interface Metadata {
        files: { [filePath: string]: File };
    }

    interface File {
        objects: { [line: number]: Line };
        exports: any;
    }

    interface Line {
        [row: number]: Object;
    }

    interface Object {
        type: string;
        name: string;
        bindingType: string;
        paramNames?: string[] | undefined;
        classProperties?: any[] | undefined;
        prototypeProperties?: number[][] | undefined;
        doc?: string | undefined;
        range: number[][];
    }
}

Additional Details

  • Last updated: Fri, 22 Sep 2023 20:29:40 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by vvakame.

Keywords

none

Install

DownloadsWeekly Downloads

114

Version

0.0.32

License

MIT

Unpacked Size

4.18 kB

Total Files

5

Last publish

Collaborators

  • types