From be41fa69baa71be860ef381fc86b9afb3768b626 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 5 Jan 2021 15:09:18 +0100 Subject: [PATCH] Add WoltLabSuite/Core/Prism.d.ts --- wcfsetup/install/files/js/require.config.js | 1 + wcfsetup/install/files/ts/WoltLabSuite/Core/Prism.d.ts | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 wcfsetup/install/files/ts/WoltLabSuite/Core/Prism.d.ts diff --git a/wcfsetup/install/files/js/require.config.js b/wcfsetup/install/files/js/require.config.js index 6fe51dbc11..041aadc6e1 100644 --- a/wcfsetup/install/files/js/require.config.js +++ b/wcfsetup/install/files/js/require.config.js @@ -6,6 +6,7 @@ requirejs.config({ 'Pica': '3rdParty/pica', 'pica': '3rdParty/pica', prism: '3rdParty/prism', + 'prismjs': '3rdParty/prism/prism', 'qr-creator': '3rdParty/qr-creator.min', tslib: '3rdParty/tslib', zxcvbn: '3rdParty/zxcvbn', diff --git a/wcfsetup/install/files/ts/WoltLabSuite/Core/Prism.d.ts b/wcfsetup/install/files/ts/WoltLabSuite/Core/Prism.d.ts new file mode 100644 index 0000000000..10e516635a --- /dev/null +++ b/wcfsetup/install/files/ts/WoltLabSuite/Core/Prism.d.ts @@ -0,0 +1,3 @@ +import Prism from "prismjs"; + +export default Prism; -- 2.20.1