Skip to content

Commit 54d7052

Browse files
committed
Always loads the types.ts to allow the loading of svg files.
1 parent b0b1b4d commit 54d7052

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* @license LGPL-2.1-or-later
55
* @since 6.0
66
*/
7+
// The import prevents the error `Cannot find module '….svg' or its corresponding type declarations.` from occurring if the editor is included as a dependency.
8+
import "./types";
79

810
export { create } from "./app";
911
export * as CKEditor5 from "./modules";
File renamed without changes.

0 commit comments

Comments
 (0)