diff options
author | HampusM <hampus@hampusmat.com> | 2021-08-02 22:52:06 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-08-02 22:52:06 +0200 |
commit | fed6dbb3d89ec007392d6697793dd3cb67a948ec (patch) | |
tree | 397209f728d25fbdafd6c2ed3a386c22003db2f0 /patches | |
parent | ca109b210924a14343870a887c28300c833bcc45 (diff) |
Added a patch that fixes a deprecation warning with typedoc-plugin-pages
Diffstat (limited to 'patches')
-rw-r--r-- | patches/typedoc-plugin-pages+1.1.0.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/typedoc-plugin-pages+1.1.0.patch b/patches/typedoc-plugin-pages+1.1.0.patch new file mode 100644 index 0000000..0336088 --- /dev/null +++ b/patches/typedoc-plugin-pages+1.1.0.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/typedoc-plugin-pages/dist/plugin/index.js b/node_modules/typedoc-plugin-pages/dist/plugin/index.js +index 854b9f1..5cab6fd 100644 +--- a/node_modules/typedoc-plugin-pages/dist/plugin/index.js ++++ b/node_modules/typedoc-plugin-pages/dist/plugin/index.js +@@ -6,7 +6,7 @@ + const constants_1 = require("./constants");
+ const declaration_1 = require("typedoc/dist/lib/utils/options/declaration");
+ const plugin_1 = require("./plugin");
+-module.exports = (PluginHost) => {
++module.exports.load = (PluginHost) => {
+ const app = PluginHost.owner;
+ // Register options
+ app.options.addDeclaration({
|