aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2023-08-03 21:23:28 +0200
committerGitHub <[email protected]>2023-08-03 19:23:28 +0000
commit02fc7caf1cf757ae5901b8d37cd5d8d7ed123724 (patch)
treedbc128f173e7893f625f6053ef314ac977f09878
parent87eca26016853c1332a214d7700cbed35640e1f6 (diff)
downloadfaker-02fc7caf1cf757ae5901b8d37cd5d8d7ed123724.tar.xz
faker-02fc7caf1cf757ae5901b8d37cd5d8d7ed123724.zip
fix(test): typedoc signature test issues (#2280)
-rw-r--r--scripts/apidoc/typedoc.ts1
-rw-r--r--tsconfig.json7
2 files changed, 7 insertions, 1 deletions
diff --git a/scripts/apidoc/typedoc.ts b/scripts/apidoc/typedoc.ts
index 1a782aa9..2e86f2c2 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 c1dcb1dd..cda27929 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"
+ ]
}