[@types/store] Fixed a typo of a store plugin (#35882)

This commit is contained in:
Kwok Chi Leong 2019-06-04 07:35:27 +08:00 committed by Andrew Casey
parent eb57a8c2ee
commit 12207c4a9d
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@
// harry0000 <https://github.com/harry0000>
// Roman Nuritdinov (Ky6uk) <https://github.com/Ky6uk>
// Johnny Edwards (igl00) <https://github.com/igl00>
// Jason Kwok (JasonHK) <https://github.com/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' {

View File

@ -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,