diff --git a/scripts/apidoc/typedoc.ts b/scripts/apidoc/typedoc.ts index 1a782aa9b0d..2e86f2c28d1 100644 --- a/scripts/apidoc/typedoc.ts +++ b/scripts/apidoc/typedoc.ts @@ -35,6 +35,7 @@ export function loadProject( entryPoints: ['src/index.ts'], pretty: true, cleanOutputDir: true, + tsconfig: 'tsconfig.build.json', } ): [Application, ProjectReflection] { const app = newTypeDocApp(); diff --git a/tsconfig.json b/tsconfig.json index c1dcb1ddfb7..cda27929e8f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,5 +17,10 @@ "allowSyntheticDefaultImports": true, "resolveJsonModule": true }, - "exclude": ["node_modules", "dist"] + "exclude": [ + "node_modules", + "dist", + // required for the typedoc related tests on macOS #2280 + "test/scripts/apidoc/temp" + ] }