Browse Source

Fixed a typing

main
Cédric Belin 2 weeks ago
parent
commit
34585e62a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/webstorage/WebStorage.hx

+ 1
- 1
src/webstorage/WebStorage.hx View File

@@ -23,7 +23,7 @@ import js.lib.Symbol;
final backend: Storage;

/** The function that listens for storage events. **/
final listener: Null<StorageEvent> -> Void;
final listener: Null<StorageEvent -> Void>;

/** Creates a new storage service. **/
function new(backend: Storage, ?options: WebStorageOptions) {


Loading…
Cancel
Save