Skip to content

TypeScript support #6

@msipinski

Description

@msipinski

Having a TypeScript type definition file would be nice. Without it I have to write my own type definition file or use // @ts-ignore above the import.

Only one short file is needed:

// index.d.ts
declare module 'default-shell' {
  declare const defaultShell: string // probably could also be "let" instead of "const"
  export default defaultShell
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions