Skip to content

Commit 933065b

Browse files
Change error codes.
1 parent a04f1eb commit 933065b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/compiler/diagnosticMessages.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,14 +1043,6 @@
10431043
"category": "Error",
10441044
"code": 1358
10451045
},
1046-
"Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?": {
1047-
"category": "Error",
1048-
"code": 1359
1049-
},
1050-
"Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?": {
1051-
"category": "Error",
1052-
"code": 1360
1053-
},
10541046

10551047
"The types of '{0}' are incompatible between these types.": {
10561048
"category": "Error",
@@ -2257,6 +2249,14 @@
22572249
"category": "Error",
22582250
"code": 2612
22592251
},
2252+
"Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?": {
2253+
"category": "Error",
2254+
"code": 2613
2255+
},
2256+
"Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?": {
2257+
"category": "Error",
2258+
"code": 2614
2259+
},
22602260

22612261
"Cannot augment module '{0}' with value exports because it resolves to a non-module entity.": {
22622262
"category": "Error",

0 commit comments

Comments
 (0)