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

Declarations of "unknown" modules aren't included despite enabled inlineDeclareExternals flag #312

Closed
timocov opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@timocov
Copy link
Owner

timocov commented Apr 2, 2024

Bug report

Input code

// config.ts
const config: TestCaseConfig = {
	output: {
		inlineDeclareExternals: true,
	},
};

index.d.ts:

/// <reference path="./modules.d.ts" preserve="true" />

export {};

modules.d.ts:

declare module '*.css' {}

declare module 'module-that-does-not-exist-actually' {
}

Expected output

declare module "*.css" { }
declare module "module-that-does-not-exist-actually" {
}

export {};

Actual output

export {};

Additional context
Add any other context about the problem here (CLI options, etc)

@timocov timocov added the Bug label Apr 2, 2024
@timocov timocov added this to the 9.4 milestone Apr 2, 2024
@timocov timocov self-assigned this Apr 2, 2024
@timocov timocov closed this as completed in 186e6fd Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant