fix handling of fatal errors - fixes #289

This commit is contained in:
Rich Harris
2018-06-26 13:49:11 -04:00
parent 611dc4f6be
commit 5075981a90
3 changed files with 36 additions and 13 deletions

View File

@@ -12,6 +12,7 @@ export type ErrorEvent = {
export type FatalEvent = {
message: string;
log?: string;
};
export type InvalidEvent = {