-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60500d3
commit 1354df5
Showing
5 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'ts-error-translator': patch | ||
--- | ||
|
||
More error translations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
original: "Cannot find module '{0}' or its corresponding type declarations." | ||
excerpt: "This could be one of two things - either '{0}' doesn't exist on your file system, or I can't find any type declarations for it." | ||
--- | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
original: "Generic type '{0}' requires {1} type argument(s)." | ||
excerpt: "It looks like '{0}' requires '{1}' type arguments, which means you need to pass them in via a generic." | ||
--- | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
original: "Type '{0}' does not satisfy the constraint '{1}'." | ||
excerpt: "You're trying to pass in '{0}' into a slot where I can see only '{1}' can be passed." | ||
--- | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
original: "Object literal may only specify known properties, and '{0}' does not exist in type '{1}'." | ||
excerpt: "You can't pass property '{0}' to object '{1}'." | ||
--- | ||
|
||
This object: | ||
|
||
``` | ||
{1} | ||
``` | ||
|
||
Doesn't contain this property: | ||
|
||
``` | ||
{0} | ||
``` | ||
|
||
So don't pass it! |
1354df5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ts-error-translator – ./
ts-error-translator-mattpocock.vercel.app
ts-error-translator.vercel.app
ts-error-translator-git-main-mattpocock.vercel.app