Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

Files with only type declarations do not get declaration files generated #432

@jamiebuilds

Description

@jamiebuilds

Test repo: https://github.com/thejameskyle/test-awesome-ts-loader

If I have a file like this:

export interface a {}

And I run with these options:

{
  test: /\.tsx?$/,
  loader: 'awesome-typescript-loader',
  options: {
    declaration: true,
    declarationDir: './types',
  },
},

It will not create a file.

As soon as I add a value it will though.

  export interface a {}
+ export const b = {};

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions