diff --git a/types/store/index.d.ts b/types/store/index.d.ts index e859491aa0..e97f3b2e91 100644 --- a/types/store/index.d.ts +++ b/types/store/index.d.ts @@ -4,6 +4,7 @@ // harry0000 // Roman Nuritdinov (Ky6uk) // Johnny Edwards (igl00) +// Jason Kwok (JasonHK) // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Cross-browser storage for all use cases, used across the web. @@ -59,7 +60,7 @@ declare module 'store/src/store-engine' { declare module 'store/plugins/all' { export = Function; } -declare module 'store/plugins/default' { +declare module 'store/plugins/defaults' { export = Function; } declare module 'store/plugins/dump' { diff --git a/types/store/store-tests.ts b/types/store/store-tests.ts index a992327908..1f6d6f8232 100644 --- a/types/store/store-tests.ts +++ b/types/store/store-tests.ts @@ -1,7 +1,7 @@ import * as store from 'store'; import * as engine from 'store/src/store-engine'; import * as allPlugin from 'store/plugins/all'; -import * as defaultPlugin from 'store/plugins/default'; +import * as defaultsPlugin from 'store/plugins/defaults'; import * as dumpPlugin from 'store/plugins/dump'; import * as eventsPlugin from 'store/plugins/events'; import * as expirePlugin from 'store/plugins/expire'; @@ -78,7 +78,7 @@ var storages: any[] = [ ]; var plugins = [ allPlugin, - defaultPlugin, + defaultsPlugin, dumpPlugin, eventsPlugin, expirePlugin,