diff --git a/lib/api/src/modules/versions.ts b/lib/api/src/modules/versions.ts index b9aeb92cf5f8..1544d918553c 100644 --- a/lib/api/src/modules/versions.ts +++ b/lib/api/src/modules/versions.ts @@ -12,15 +12,20 @@ export interface Version { [key: string]: any; } -export interface SubState { - versions: { - [key: string]: { - [key: string]: any; - }; - latest?: Version; - next?: Version; - current?: Version; +export interface UnknownEntries { + [key: string]: { + [key: string]: any; }; +} + +export interface Versions { + latest?: Version; + next?: Version; + current?: Version; +} + +export interface SubState { + versions: Versions & UnknownEntries; lastVersionCheck: number; dismissedVersionNotification: undefined | string; } diff --git a/lib/components/package.json b/lib/components/package.json index 5926ee66202a..c7923e1f33be 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -38,10 +38,11 @@ "react-syntax-highlighter": "^8.0.1", "react-textarea-autosize": "^7.1.0", "recompose": "^0.30.0", - "simplebar-react": "^1.0.0-alpha.6" + "simplebar-react": "^1.0.0-alpha.6", + "@types/react-syntax-highlighter": "10.1.0" + }, "devDependencies": { - "@types/react-syntax-highlighter": "10.1.0", "@types/react-textarea-autosize": "^4.3.3", "@types/recompose": "^0.30.5", "enzyme": "^3.9.0", diff --git a/lib/router/package.json b/lib/router/package.json index 5efa56fc712a..18e25c1e6238 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -25,10 +25,10 @@ "core-js": "^3.0.1", "global": "^4.3.2", "memoizerific": "^1.11.3", - "qs": "^6.6.0" + "qs": "^6.6.0", + "@types/reach__router": "^1.2.3" }, "devDependencies": { - "@types/reach__router": "^1.2.3" }, "peerDependencies": { "react": "*",