fix: add new-for-builtins rule (#5116)

This commit is contained in:
LongYinan
2023-11-29 04:44:02 +00:00
parent 19c61e051d
commit 68caf5027d
3 changed files with 3 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ class FakePrisma {
get workspace() {
return {
async findUnique() {
throw Error('exception from graphql');
throw new Error('exception from graphql');
},
};
}