We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is this a feature or a bug?
Please describe the actual behavior. I have an index.d.ts what include declare module
index.d.ts
declare module
// index.d.ts export const test: string; declare module 'my-module' { export const name = 'my-module'; }
And run api-extractor run
api-extractor run
// api-extractor.json { "mainEntryPointFilePath": "./index.d.ts", "apiReport": { "enabled": true, "reportFolder": "<projectFolder>/temp/" }, "docModel": { "enabled": true }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "./result.d.ts" }, "tsdocMetadata": { "enabled": false } }
the result is
export declare const test: string; export { }
result is include not declare module What is the expected behavior?
// result.d.ts export declare const test: string; declare module 'my-module' { export const name = 'my-module'; }
I think it's useful to include declare module for some plugin module what override something. For example.
// my-module export interface CustomOptions {} export interface Options extends CustomOptions { name: string; }
// my-module-plugin declare module 'my-module' { export interface CustomOptions { otherInfo: string; } }
The text was updated successfully, but these errors were encountered:
Are you aware of any workaround to include the declare module part? @octogonz In case I can avoid to append the declare module code by hand 😄
Sorry, something went wrong.
I'm having this problem too.
package.json "types": "./dist/index.d.ts",
No branches or pull requests
Is this a feature or a bug?
Please describe the actual behavior.
I have an
index.d.ts
what includedeclare module
And run
api-extractor run
the result is
result is include not
declare module
What is the expected behavior?
I think it's useful to include
declare module
for some plugin module what override something. For example.The text was updated successfully, but these errors were encountered: