Add WoltLabSuite/Core/Prism.d.ts
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 5 Jan 2021 14:09:18 +0000 (15:09 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 5 Jan 2021 14:09:18 +0000 (15:09 +0100)
wcfsetup/install/files/js/require.config.js
wcfsetup/install/files/ts/WoltLabSuite/Core/Prism.d.ts [new file with mode: 0644]

index 6fe51dbc11e39b10ab1244608fb9f91a8f15f4a8..041aadc6e11f921dc35ffaabfc2fff25cfe6a05c 100644 (file)
@@ -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 (file)
index 0000000..10e5166
--- /dev/null
@@ -0,0 +1,3 @@
+import Prism from "prismjs";
+
+export default Prism;