-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move strip internal option from typedoc to tsconfig
In the newest version, typedoc does no longer forward options to TypeScript. stripInternal is a TypeScript option, not a TypeDoc option. Adding it to the main file could be dangerous, though, as some types might be missing.
- Loading branch information
1 parent
7a79660
commit 3dd039d
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "./tsconfig.build.json", | ||
"compilerOptions": { | ||
"stripInternal": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"entryPoints": ["./src/index.ts"], | ||
"namedParamName": "props", | ||
"plugin": ["typedoc-plugin-param-names", "typedoc-plugin-sourcefile-url"], | ||
"stripInternal": true, | ||
"tsconfig": "./tsconfig.build.json", | ||
"tsconfig": "./tsconfig.docs.json", | ||
"sourcefile-url-prefix": "https://github.com/dbartholomae/jsx-readme/blob/main/src/" | ||
} |