(handlers: NativeHandlers | null)
| 60 | }; |
| 61 | |
| 62 | export const setNativeHandlers = (handlers: NativeHandlers | null): void => { |
| 63 | const nativeGlobal = globalThis as NativeGlobal; |
| 64 | |
| 65 | if (handlers) { |
| 66 | nativeGlobal.dailyNative = handlers; |
| 67 | return; |
| 68 | } |
| 69 | |
| 70 | delete nativeGlobal.dailyNative; |
| 71 | }; |
| 72 | |
| 73 | export enum HapticStyle { |
| 74 | Light = 'light', |