We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63e8fe9 commit 2c863c9Copy full SHA for 2c863c9
1 file changed
src/events/types.ts
@@ -1,4 +1,5 @@
1
-import { NMRiumData, NMRiumDataReturn } from 'nmrium';
+import { SerializedNmriumState } from 'nmr-load-save';
2
+import { NMRiumData } from 'nmrium';
3
import { BlobObject } from 'nmrium/lib/component/utility/export';
4
5
type EventType =
@@ -33,7 +34,7 @@ type ActionResponse = {
33
34
};
35
36
type EventData<T extends EventType> = T extends 'data-change'
- ? NMRiumDataReturn
37
+ ? SerializedNmriumState
38
: T extends 'load'
39
? LoadData
40
: T extends 'action-request'
0 commit comments