Skip to content

Commit e99445a

Browse files
committed
Extend js.Object instead of js.Any
1 parent 5d3f6b5 commit e99445a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/org/scalajs/dom/storage.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ package org.scalajs.dom
33
import scala.scalajs.js
44

55
@js.native
6-
trait StorageManager extends js.Any {
6+
trait StorageManager extends js.Object {
77
def persisted(): js.Promise[Boolean] = js.native
88
def persist(): js.Promise[Boolean] = js.native
99
def estimate(): js.Promise[StorageEstimate] = js.native
1010
}
1111

1212
@js.native
13-
trait StorageEstimate extends js.Any {
13+
trait StorageEstimate extends js.Object {
1414
val usage: Double = js.native
1515
val quota: Double = js.native
1616
}

0 commit comments

Comments
 (0)