File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 2323 "main" : " dist/index.js" ,
2424 "module" : " dist/index.js" ,
2525 "exports" : {
26- "." : " ./dist/index.js" ,
26+ "." : {
27+ "types" : " ./src/index.d.ts" ,
28+ "import" : " ./dist/index.js"
29+ },
2730 "./*.css" : " ./dist/*.css" ,
2831 "./src/*" : " ./src/*" ,
2932 "./theme/*" : " ./theme/*" ,
6164 },
6265 "peerDependencies" : {
6366 "ckeditor5" : " >=42.0.0"
64- }
67+ },
68+ "types" : " ./src/index.d.ts"
6569}
Original file line number Diff line number Diff line change 11import { Plugin } from '@ckeditor/ckeditor5-core' ;
22
3- declare module '@webspellchecker/wproofreader-ckeditor5/src/wproofreader' {
4- export default class WProofreader extends Plugin { }
5- }
3+ export class WProofreader extends Plugin { }
4+
65declare module '@ckeditor/ckeditor5-core' {
76 interface EditorConfig {
87 wproofreader ?: Object ;
You can’t perform that action at this time.
0 commit comments