aboutsummaryrefslogtreecommitdiff
path: root/patches/typedoc-plugin-pages+1.1.0.patch
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-08-02 22:52:06 +0200
committerHampusM <hampus@hampusmat.com>2021-08-02 22:52:06 +0200
commitfed6dbb3d89ec007392d6697793dd3cb67a948ec (patch)
tree397209f728d25fbdafd6c2ed3a386c22003db2f0 /patches/typedoc-plugin-pages+1.1.0.patch
parentca109b210924a14343870a887c28300c833bcc45 (diff)
Added a patch that fixes a deprecation warning with typedoc-plugin-pages
Diffstat (limited to 'patches/typedoc-plugin-pages+1.1.0.patch')
-rw-r--r--patches/typedoc-plugin-pages+1.1.0.patch13
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({