From 12207c4a9dc09e7b486912c194674ff14989b612 Mon Sep 17 00:00:00 2001 From: Kwok Chi Leong Date: Tue, 4 Jun 2019 07:35:27 +0800 Subject: [PATCH] [@types/store] Fixed a typo of a `store` plugin (#35882) --- types/store/index.d.ts | 3 ++- types/store/store-tests.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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,