Skip to content

Commit f0b8025

Browse files
authored
Merge pull request #60 from ShMcK/fix/error-handling
Fix/error handling pt1
2 parents 5a35d0c + 382a6f8 commit f0b8025

File tree

15 files changed

+251
-146
lines changed

15 files changed

+251
-146
lines changed

package-lock.json

+45-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,20 @@
4141
"@types/glob": "^7.1.1",
4242
"@types/jest": "^24.0.23",
4343
"@types/jsdom": "^12.2.4",
44-
"@types/node": "^12.12.11",
44+
"@types/node": "^12.12.12",
4545
"@typescript-eslint/eslint-plugin": "^2.8.0",
4646
"@typescript-eslint/parser": "^2.8.0",
4747
"assert": "^2.0.0",
4848
"concurrently": "^5.0.0",
4949
"dotenv": "^8.2.0",
50-
"eslint": "^6.6.0",
50+
"eslint": "^6.7.0",
5151
"eslint-config-prettier": "^6.7.0",
5252
"eslint-plugin-prettier": "^3.1.1",
5353
"glob": "^7.1.6",
5454
"graphql": "^14.5.8",
5555
"mocha": "^6.2.2",
5656
"prettier": "^1.19.1",
57-
"ts-jest": "^24.1.0",
57+
"ts-jest": "^24.2.0",
5858
"typescript": "^3.7.2",
5959
"vscode": "^1.1.36",
6060
"vscode-test": "^1.2.3"

typings/index.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,14 @@ export interface Environment {
3838
token: string
3939
}
4040

41+
export interface ErrorMessage {
42+
title: string
43+
description?: string
44+
}
45+
4146
export interface MachineContext {
4247
env: Environment
48+
error: ErrorMessage | null
4349
tutorial: G.Tutorial | null
4450
position: Position
4551
progress: Progress

web-app/package-lock.json

+47-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)