amotify 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/@types/amot.tsx CHANGED
@@ -60,19 +60,16 @@ declare global {
60
60
  }
61
61
 
62
62
  namespace global {
63
- type LaunchReactApplicationParams = {
64
- ( params: {
65
- baseElement?: HTMLElement | string
66
- reactElement: ReactElement
67
- nonRouter?: boolean
68
- isRoot?: boolean
69
- appearances?: {
70
- roundness?: RoundnessTypes
71
- themeColor?: amotify.ThemeColorTypes
72
- tone?: amotify.ToneTypes
73
- darkMode?: amotify.DarkModeTypes
74
- }
75
- } ): void
63
+ type LaunchReactApplicationInput = {
64
+ reactElement: ReactElement
65
+ nonRouter?: boolean
66
+ isRoot?: boolean
67
+ appearances?: {
68
+ roundness?: RoundnessTypes
69
+ themeColor?: amotify.ThemeColorTypes
70
+ tone?: amotify.ToneTypes
71
+ darkMode?: amotify.DarkModeTypes
72
+ }
76
73
  }
77
74
  type useStoreParams = {
78
75
  set( params: {
@@ -120,7 +117,7 @@ declare global {
120
117
  pageTransit: PageTransitParams
121
118
  useStore: global.useStoreParams
122
119
  useRecycle: global.useRecycleParams
123
- LaunchReactApplication: global.LaunchReactApplicationParams
120
+ LaunchReactApplication( params: global.LaunchReactApplicationInput ): void
124
121
  }
125
122
  }
126
123