From 8d5ec6f25754bee63d185ba0ff864b268d73edb9 Mon Sep 17 00:00:00 2001 From: vince-fugnitto Date: Thu, 14 Oct 2021 15:29:16 -0400 Subject: [PATCH] typedoc: fix docs for `@theia/plugin` The commit fixes the missing documentation generation for `@theia/plugin` including `theia-proposed.d.ts` and `theia.d.ts`. Signed-off-by: vince-fugnitto --- configs/typedoc.json | 1 - packages/plugin/src/theia-proposed.d.ts | 2 +- packages/plugin/src/theia.d.ts | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configs/typedoc.json b/configs/typedoc.json index 62a76bb3607da..5f4f111ebb925 100644 --- a/configs/typedoc.json +++ b/configs/typedoc.json @@ -2,7 +2,6 @@ "emit": false, "exclude": [ "+(dev-packages|examples|typings|scripts)", - "packages/plugin/src/theia-proposed.d.ts", "packages/*/lib", "**/node_modules", "**/*spec.ts" diff --git a/packages/plugin/src/theia-proposed.d.ts b/packages/plugin/src/theia-proposed.d.ts index d09356b844d5a..b6a8af173e58d 100644 --- a/packages/plugin/src/theia-proposed.d.ts +++ b/packages/plugin/src/theia-proposed.d.ts @@ -20,7 +20,7 @@ * This is the place for API experiments and proposals. * These API are NOT stable and subject to change. Use it on own risk. */ -declare module '@theia/plugin' { +export module '@theia/plugin' { // #region auth provider /** diff --git a/packages/plugin/src/theia.d.ts b/packages/plugin/src/theia.d.ts index 68fb2a86a7e5a..74e899fce0bad 100644 --- a/packages/plugin/src/theia.d.ts +++ b/packages/plugin/src/theia.d.ts @@ -25,7 +25,7 @@ import './theia-proposed'; /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable max-len */ -declare module '@theia/plugin' { +export module '@theia/plugin' { /** * The version of the Theia API. @@ -11034,4 +11034,3 @@ declare module '@theia/plugin' { export const onDidChangeSessions: Event; } } -