From: Tim Düsterhus Date: Tue, 5 Jan 2021 14:09:18 +0000 (+0100) Subject: Add WoltLabSuite/Core/Prism.d.ts X-Git-Tag: 5.4.0_Alpha_1~480^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=be41fa69baa71be860ef381fc86b9afb3768b626;p=GitHub%2FWoltLab%2FWCF.git Add 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;