Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dukat ignores d.mts files #520

Open
BernhardPosselt opened this issue Mar 16, 2024 · 0 comments
Open

Dukat ignores d.mts files #520

BernhardPosselt opened this issue Mar 16, 2024 · 0 comments

Comments

@BernhardPosselt
Copy link

I'm trying to compile types for a project which provides types for native esmodules.

🕗 Version

0.5.8-rc.4

💻 Code or Package Name

Put the following code into a file called d.mts

export function logCompatibilityWarning(message: string, { mode, since, until, details, stack, once }?: {
    mode?: number;
    since?: number | string;
    until?: number | string;
    details?: string;
    stack?: boolean;
    once?: boolean;
}): void;

Compile it with ducat and there is no output. Rename it to d.ts instead and it'll generate the proper type definitions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant