| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1a4fa2b commit 152df4d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -49,7 +49,7 @@ function parseTypeScript(source, options) { | |||
| 49 | 49 | try { | |
| 50 | 50 | return parse(source, options); | |
| 51 | 51 | } catch (error) { | |
| 52 | - throw new ERR_INVALID_TYPESCRIPT_SYNTAX(error); | ||
| 52 | + throw new ERR_INVALID_TYPESCRIPT_SYNTAX(error.message); | ||
| 53 | 53 | } | |
| 54 | 54 | } | |
| 55 | 55 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments