From fed6dbb3d89ec007392d6697793dd3cb67a948ec Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 2 Aug 2021 22:52:06 +0200 Subject: Added a patch that fixes a deprecation warning with typedoc-plugin-pages --- patches/typedoc-plugin-pages+1.1.0.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/typedoc-plugin-pages+1.1.0.patch (limited to 'patches/typedoc-plugin-pages+1.1.0.patch') 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({ -- cgit v1.2.3-18-g5258