diff --git a/types/local-storage/index.d.ts b/types/local-storage/index.d.ts index 9c5a6d0a9b..3452837374 100644 --- a/types/local-storage/index.d.ts +++ b/types/local-storage/index.d.ts @@ -39,4 +39,4 @@ interface Accessor { } declare const accessor: Accessor; -export default accessor; +export = accessor; diff --git a/types/local-storage/local-storage-tests.ts b/types/local-storage/local-storage-tests.ts index 89431cba8a..98d273e70b 100644 --- a/types/local-storage/local-storage-tests.ts +++ b/types/local-storage/local-storage-tests.ts @@ -1,4 +1,4 @@ -import ls from 'local-storage'; +import * as ls from 'local-storage'; ls('foo'); ls('foo', 'bar');