PageRenderTime 303ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/src/compiler/resources/diagnosticMessages.json

#
JSON | 1534 lines | 1534 code | 0 blank | 0 comment | 0 complexity | ec2ee888208be3b5b8c3b094653cfd2b MD5 | raw file
Possible License(s): Apache-2.0
  1. {
  2. "error TS{0}: {1}": {
  3. "category": "NoPrefix",
  4. "code": 0
  5. },
  6. "warning TS{0}: {1}": {
  7. "category": "NoPrefix",
  8. "code": 1
  9. },
  10. "Unrecognized escape sequence.": {
  11. "category": "Error",
  12. "code": 1000
  13. },
  14. "Unexpected character {0}.": {
  15. "category": "Error",
  16. "code": 1001
  17. },
  18. "Missing close quote character.": {
  19. "category": "Error",
  20. "code": 1002
  21. },
  22. "Identifier expected.": {
  23. "category": "Error",
  24. "code": 1003
  25. },
  26. "'{0}' keyword expected.": {
  27. "category": "Error",
  28. "code": 1004
  29. },
  30. "'{0}' expected.": {
  31. "category": "Error",
  32. "code": 1005
  33. },
  34. "Identifier expected; '{0}' is a keyword.": {
  35. "category": "Error",
  36. "code": 1006
  37. },
  38. "Automatic semicolon insertion not allowed.": {
  39. "category": "Error",
  40. "code": 1007
  41. },
  42. "Unexpected token; '{0}' expected.": {
  43. "category": "Error",
  44. "code": 1008
  45. },
  46. "Trailing separator not allowed.": {
  47. "category": "Error",
  48. "code": 1009
  49. },
  50. "'*/' expected.": {
  51. "category": "Error",
  52. "code": 1010
  53. },
  54. "'public' or 'private' modifier must precede 'static'.": {
  55. "category": "Error",
  56. "code": 1011
  57. },
  58. "Unexpected token.": {
  59. "category": "Error",
  60. "code": 1012
  61. },
  62. "Catch clause parameter cannot have a type annotation.": {
  63. "category": "Error",
  64. "code": 1013
  65. },
  66. "Rest parameter must be last in list.": {
  67. "category": "Error",
  68. "code": 1014
  69. },
  70. "Parameter cannot have question mark and initializer.": {
  71. "category": "Error",
  72. "code": 1015
  73. },
  74. "Required parameter cannot follow optional parameter.": {
  75. "category": "Error",
  76. "code": 1016
  77. },
  78. "Index signatures cannot have rest parameters.": {
  79. "category": "Error",
  80. "code": 1017
  81. },
  82. "Index signature parameter cannot have accessibility modifiers.": {
  83. "category": "Error",
  84. "code": 1018
  85. },
  86. "Index signature parameter cannot have a question mark.": {
  87. "category": "Error",
  88. "code": 1019
  89. },
  90. "Index signature parameter cannot have an initializer.": {
  91. "category": "Error",
  92. "code": 1020
  93. },
  94. "Index signature must have a type annotation.": {
  95. "category": "Error",
  96. "code": 1021
  97. },
  98. "Index signature parameter must have a type annotation.": {
  99. "category": "Error",
  100. "code": 1022
  101. },
  102. "Index signature parameter type must be 'string' or 'number'.": {
  103. "category": "Error",
  104. "code": 1023
  105. },
  106. "'extends' clause already seen.": {
  107. "category": "Error",
  108. "code": 1024
  109. },
  110. "'extends' clause must precede 'implements' clause.": {
  111. "category": "Error",
  112. "code": 1025
  113. },
  114. "Classes can only extend a single class.": {
  115. "category": "Error",
  116. "code": 1026
  117. },
  118. "'implements' clause already seen.": {
  119. "category": "Error",
  120. "code": 1027
  121. },
  122. "Accessibility modifier already seen.": {
  123. "category": "Error",
  124. "code": 1028
  125. },
  126. "'{0}' modifier must precede '{1}' modifier.": {
  127. "category": "Error",
  128. "code": 1029
  129. },
  130. "'{0}' modifier already seen.": {
  131. "category": "Error",
  132. "code": 1030
  133. },
  134. "'{0}' modifier cannot appear on a class element.": {
  135. "category": "Error",
  136. "code": 1031
  137. },
  138. "Interface declaration cannot have 'implements' clause.": {
  139. "category": "Error",
  140. "code": 1032
  141. },
  142. "'super' invocation cannot have type arguments.": {
  143. "category": "Error",
  144. "code": 1034
  145. },
  146. "Only ambient modules can use quoted names.": {
  147. "category": "Error",
  148. "code": 1035
  149. },
  150. "Statements are not allowed in ambient contexts.": {
  151. "category": "Error",
  152. "code": 1036
  153. },
  154. "Implementations are not allowed in ambient contexts.": {
  155. "category": "Error",
  156. "code": 1037
  157. },
  158. "'declare' modifier not allowed for code already in an ambient context.": {
  159. "category": "Error",
  160. "code": 1038
  161. },
  162. "Initializers are not allowed in ambient contexts.": {
  163. "category": "Error",
  164. "code": 1039
  165. },
  166. "Parameter property declarations can only be used in constructors.": {
  167. "category": "Error",
  168. "code": 1040
  169. },
  170. "Function implementation expected.": {
  171. "category": "Error",
  172. "code": 1041
  173. },
  174. "Constructor implementation expected.": {
  175. "category": "Error",
  176. "code": 1042
  177. },
  178. "Function overload name must be '{0}'.": {
  179. "category": "Error",
  180. "code": 1043
  181. },
  182. "'{0}' modifier cannot appear on a module element.": {
  183. "category": "Error",
  184. "code": 1044
  185. },
  186. "'declare' modifier cannot appear on an interface declaration.": {
  187. "category": "Error",
  188. "code": 1045
  189. },
  190. "'declare' modifier required for top level element.": {
  191. "category": "Error",
  192. "code": 1046
  193. },
  194. "Rest parameter cannot be optional.": {
  195. "category": "Error",
  196. "code": 1047
  197. },
  198. "Rest parameter cannot have an initializer.": {
  199. "category": "Error",
  200. "code": 1048
  201. },
  202. "'set' accessor must have one and only one parameter.": {
  203. "category": "Error",
  204. "code": 1049
  205. },
  206. "'set' accessor parameter cannot have accessibility modifier.": {
  207. "category": "Error",
  208. "code": 1050
  209. },
  210. "'set' accessor parameter cannot be optional.": {
  211. "category": "Error",
  212. "code": 1051
  213. },
  214. "'set' accessor parameter cannot have an initializer.": {
  215. "category": "Error",
  216. "code": 1052
  217. },
  218. "'set' accessor cannot have rest parameter.": {
  219. "category": "Error",
  220. "code": 1053
  221. },
  222. "'get' accessor cannot have parameters.": {
  223. "category": "Error",
  224. "code": 1054
  225. },
  226. "Modifiers cannot appear here.": {
  227. "category": "Error",
  228. "code": 1055
  229. },
  230. "Accessors are only available when targeting ECMAScript 5 and higher.": {
  231. "category": "Error",
  232. "code": 1056
  233. },
  234. "Class name cannot be '{0}'.": {
  235. "category": "Error",
  236. "code": 1057
  237. },
  238. "Interface name cannot be '{0}'.": {
  239. "category": "Error",
  240. "code": 1058
  241. },
  242. "Enum name cannot be '{0}'.": {
  243. "category": "Error",
  244. "code": 1059
  245. },
  246. "Module name cannot be '{0}'.": {
  247. "category": "Error",
  248. "code": 1060
  249. },
  250. "Enum member must have initializer.": {
  251. "category": "Error",
  252. "code": 1061
  253. },
  254. "Export assignment cannot be used in internal modules.": {
  255. "category": "Error",
  256. "code": 1063
  257. },
  258. "Export assignment not allowed in module with exported element.": {
  259. "category": "Error",
  260. "code": 1064
  261. },
  262. "Module cannot have multiple export assignments.": {
  263. "category": "Error",
  264. "code": 1065
  265. },
  266. "Ambient enum elements can only have integer literal initializers.": {
  267. "category": "Error",
  268. "code": 1066
  269. },
  270. "module, class, interface, enum, import or statement": {
  271. "category": "NoPrefix",
  272. "code": 1067
  273. },
  274. "constructor, function, accessor or variable": {
  275. "category": "NoPrefix",
  276. "code": 1068
  277. },
  278. "statement": {
  279. "category": "NoPrefix",
  280. "code": 1069
  281. },
  282. "case or default clause": {
  283. "category": "NoPrefix",
  284. "code": 1070
  285. },
  286. "identifier": {
  287. "category": "NoPrefix",
  288. "code": 1071
  289. },
  290. "call, construct, index, property or function signature": {
  291. "category": "NoPrefix",
  292. "code": 1072
  293. },
  294. "expression": {
  295. "category": "NoPrefix",
  296. "code": 1073
  297. },
  298. "type name": {
  299. "category": "NoPrefix",
  300. "code": 1074
  301. },
  302. "property or accessor": {
  303. "category": "NoPrefix",
  304. "code": 1075
  305. },
  306. "parameter": {
  307. "category": "NoPrefix",
  308. "code": 1076
  309. },
  310. "type": {
  311. "category": "NoPrefix",
  312. "code": 1077
  313. },
  314. "type parameter": {
  315. "category": "NoPrefix",
  316. "code": 1078
  317. },
  318. "'declare' modifier not allowed on import declaration.": {
  319. "category": "Error",
  320. "code": 1079
  321. },
  322. "Function overload must be static": {
  323. "category": "Error",
  324. "code": 1080
  325. },
  326. "Function overload must not be static": {
  327. "category": "Error",
  328. "code": 1081
  329. },
  330. "Parameter property declarations cannot be used in an ambient context.": {
  331. "category": "Error",
  332. "code": 1082
  333. },
  334. "Parameter property declarations cannot be used in a constructor overload.": {
  335. "category": "Error",
  336. "code": 1083
  337. },
  338. "Duplicate identifier '{0}'.": {
  339. "category": "Error",
  340. "code": 2000
  341. },
  342. "The name '{0}' does not exist in the current scope.": {
  343. "category": "Error",
  344. "code": 2001
  345. },
  346. "The name '{0}' does not refer to a value.": {
  347. "category": "Error",
  348. "code": 2002
  349. },
  350. "'super' can only be used inside a class instance method.": {
  351. "category": "Error",
  352. "code": 2003
  353. },
  354. "The left-hand side of an assignment expression must be a variable, property or indexer.": {
  355. "category": "Error",
  356. "code": 2004
  357. },
  358. "Value of type '{0}' is not callable. Did you mean to include 'new'?": {
  359. "category": "Error",
  360. "code": 2161
  361. },
  362. "Value of type '{0}' is not callable.": {
  363. "category": "Error",
  364. "code": 2006
  365. },
  366. "Value of type '{0}' is not newable.": {
  367. "category": "Error",
  368. "code": 2007
  369. },
  370. "Value of type '{0}' is not indexable by type '{1}'.": {
  371. "category": "Error",
  372. "code": 2008
  373. },
  374. "Operator '{0}' cannot be applied to types '{1}' and '{2}'.": {
  375. "category": "Error",
  376. "code": 2009
  377. },
  378. "Operator '{0}' cannot be applied to types '{1}' and '{2}': {3}": {
  379. "category": "Error",
  380. "code": 2010
  381. },
  382. "Cannot convert '{0}' to '{1}'.": {
  383. "category": "Error",
  384. "code": 2011
  385. },
  386. "Cannot convert '{0}' to '{1}':{NL}{2}": {
  387. "category": "Error",
  388. "code": 2012
  389. },
  390. "Expected var, class, interface, or module.": {
  391. "category": "Error",
  392. "code": 2013
  393. },
  394. "Operator '{0}' cannot be applied to type '{1}'.": {
  395. "category": "Error",
  396. "code": 2014
  397. },
  398. "Getter '{0}' already declared.": {
  399. "category": "Error",
  400. "code": 2015
  401. },
  402. "Setter '{0}' already declared.": {
  403. "category": "Error",
  404. "code": 2016
  405. },
  406. "Accessors cannot have type parameters.": {
  407. "category": "Error",
  408. "code": 2017
  409. },
  410. "Exported class '{0}' extends private class '{1}'.": {
  411. "category": "Error",
  412. "code": 2018
  413. },
  414. "Exported class '{0}' implements private interface '{1}'.": {
  415. "category": "Error",
  416. "code": 2019
  417. },
  418. "Exported interface '{0}' extends private interface '{1}'.": {
  419. "category": "Error",
  420. "code": 2020
  421. },
  422. "Exported class '{0}' extends class from inaccessible module {1}.": {
  423. "category": "Error",
  424. "code": 2021
  425. },
  426. "Exported class '{0}' implements interface from inaccessible module {1}.": {
  427. "category": "Error",
  428. "code": 2022
  429. },
  430. "Exported interface '{0}' extends interface from inaccessible module {1}.": {
  431. "category": "Error",
  432. "code": 2023
  433. },
  434. "Public static property '{0}' of exported class has or is using private type '{1}'.": {
  435. "category": "Error",
  436. "code": 2024
  437. },
  438. "Public property '{0}' of exported class has or is using private type '{1}'.": {
  439. "category": "Error",
  440. "code": 2025
  441. },
  442. "Property '{0}' of exported interface has or is using private type '{1}'.": {
  443. "category": "Error",
  444. "code": 2026
  445. },
  446. "Exported variable '{0}' has or is using private type '{1}'.": {
  447. "category": "Error",
  448. "code": 2027
  449. },
  450. "Public static property '{0}' of exported class is using inaccessible module {1}.": {
  451. "category": "Error",
  452. "code": 2028
  453. },
  454. "Public property '{0}' of exported class is using inaccessible module {1}.": {
  455. "category": "Error",
  456. "code": 2029
  457. },
  458. "Property '{0}' of exported interface is using inaccessible module {1}.": {
  459. "category": "Error",
  460. "code": 2030
  461. },
  462. "Exported variable '{0}' is using inaccessible module {1}.": {
  463. "category": "Error",
  464. "code": 2031
  465. },
  466. "Parameter '{0}' of constructor from exported class has or is using private type '{1}'.": {
  467. "category": "Error",
  468. "code": 2032
  469. },
  470. "Parameter '{0}' of public static property setter from exported class has or is using private type '{1}'.": {
  471. "category": "Error",
  472. "code": 2033
  473. },
  474. "Parameter '{0}' of public property setter from exported class has or is using private type '{1}'.": {
  475. "category": "Error",
  476. "code": 2034
  477. },
  478. "Parameter '{0}' of constructor signature from exported interface has or is using private type '{1}'.": {
  479. "category": "Error",
  480. "code": 2035
  481. },
  482. "Parameter '{0}' of call signature from exported interface has or is using private type '{1}'.": {
  483. "category": "Error",
  484. "code": 2036
  485. },
  486. "Parameter '{0}' of public static method from exported class has or is using private type '{1}'.": {
  487. "category": "Error",
  488. "code": 2037
  489. },
  490. "Parameter '{0}' of public method from exported class has or is using private type '{1}'.": {
  491. "category": "Error",
  492. "code": 2038
  493. },
  494. "Parameter '{0}' of method from exported interface has or is using private type '{1}'.": {
  495. "category": "Error",
  496. "code": 2039
  497. },
  498. "Parameter '{0}' of exported function has or is using private type '{1}'.": {
  499. "category": "Error",
  500. "code": 2040
  501. },
  502. "Parameter '{0}' of constructor from exported class is using inaccessible module {1}.": {
  503. "category": "Error",
  504. "code": 2041
  505. },
  506. "Parameter '{0}' of public static property setter from exported class is using inaccessible module {1}.": {
  507. "category": "Error",
  508. "code": 2042
  509. },
  510. "Parameter '{0}' of public property setter from exported class is using inaccessible module {1}.": {
  511. "category": "Error",
  512. "code": 2043
  513. },
  514. "Parameter '{0}' of constructor signature from exported interface is using inaccessible module {1}.": {
  515. "category": "Error",
  516. "code": 2044
  517. },
  518. "Parameter '{0}' of call signature from exported interface is using inaccessible module {1}": {
  519. "category": "Error",
  520. "code": 2045
  521. },
  522. "Parameter '{0}' of public static method from exported class is using inaccessible module {1}.": {
  523. "category": "Error",
  524. "code": 2046
  525. },
  526. "Parameter '{0}' of public method from exported class is using inaccessible module {1}.": {
  527. "category": "Error",
  528. "code": 2047
  529. },
  530. "Parameter '{0}' of method from exported interface is using inaccessible module {1}.": {
  531. "category": "Error",
  532. "code": 2048
  533. },
  534. "Parameter '{0}' of exported function is using inaccessible module {1}.": {
  535. "category": "Error",
  536. "code": 2049
  537. },
  538. "Return type of public static property getter from exported class has or is using private type '{0}'.": {
  539. "category": "Error",
  540. "code": 2050
  541. },
  542. "Return type of public property getter from exported class has or is using private type '{0}'.": {
  543. "category": "Error",
  544. "code": 2051
  545. },
  546. "Return type of constructor signature from exported interface has or is using private type '{0}'.": {
  547. "category": "Error",
  548. "code": 2052
  549. },
  550. "Return type of call signature from exported interface has or is using private type '{0}'.": {
  551. "category": "Error",
  552. "code": 2053
  553. },
  554. "Return type of index signature from exported interface has or is using private type '{0}'.": {
  555. "category": "Error",
  556. "code": 2054
  557. },
  558. "Return type of public static method from exported class has or is using private type '{0}'.": {
  559. "category": "Error",
  560. "code": 2055
  561. },
  562. "Return type of public method from exported class has or is using private type '{0}'.": {
  563. "category": "Error",
  564. "code": 2056
  565. },
  566. "Return type of method from exported interface has or is using private type '{0}'.": {
  567. "category": "Error",
  568. "code": 2057
  569. },
  570. "Return type of exported function has or is using private type '{0}'.": {
  571. "category": "Error",
  572. "code": 2058
  573. },
  574. "Return type of public static property getter from exported class is using inaccessible module {0}.": {
  575. "category": "Error",
  576. "code": 2059
  577. },
  578. "Return type of public property getter from exported class is using inaccessible module {0}.": {
  579. "category": "Error",
  580. "code": 2060
  581. },
  582. "Return type of constructor signature from exported interface is using inaccessible module {0}.": {
  583. "category": "Error",
  584. "code": 2061
  585. },
  586. "Return type of call signature from exported interface is using inaccessible module {0}.": {
  587. "category": "Error",
  588. "code": 2062
  589. },
  590. "Return type of index signature from exported interface is using inaccessible module {0}.": {
  591. "category": "Error",
  592. "code": 2063
  593. },
  594. "Return type of public static method from exported class is using inaccessible module {0}.": {
  595. "category": "Error",
  596. "code": 2064
  597. },
  598. "Return type of public method from exported class is using inaccessible module {0}.": {
  599. "category": "Error",
  600. "code": 2065
  601. },
  602. "Return type of method from exported interface is using inaccessible module {0}.": {
  603. "category": "Error",
  604. "code": 2066
  605. },
  606. "Return type of exported function is using inaccessible module {0}.": {
  607. "category": "Error",
  608. "code": 2067
  609. },
  610. "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.": {
  611. "category": "Error",
  612. "code": 2068
  613. },
  614. "A parameter list must follow a generic type argument list. '(' expected.": {
  615. "category": "Error",
  616. "code": 2069
  617. },
  618. "Multiple constructor implementations are not allowed.": {
  619. "category": "Error",
  620. "code": 2070
  621. },
  622. "Unable to resolve external module '{0}'.": {
  623. "category": "Error",
  624. "code": 2071
  625. },
  626. "Module cannot be aliased to a non-module type.": {
  627. "category": "Error",
  628. "code": 2072
  629. },
  630. "A class may only extend another class.": {
  631. "category": "Error",
  632. "code": 2073
  633. },
  634. "A class may only implement another class or interface.": {
  635. "category": "Error",
  636. "code": 2074
  637. },
  638. "An interface may only extend another class or interface.": {
  639. "category": "Error",
  640. "code": 2075
  641. },
  642. "An interface cannot implement another type.": {
  643. "category": "Error",
  644. "code": 2076
  645. },
  646. "Unable to resolve type.": {
  647. "category": "Error",
  648. "code": 2077
  649. },
  650. "Unable to resolve type of '{0}'.": {
  651. "category": "Error",
  652. "code": 2078
  653. },
  654. "Unable to resolve type parameter constraint.": {
  655. "category": "Error",
  656. "code": 2079
  657. },
  658. "Type parameter constraint cannot be a primitive type.": {
  659. "category": "Error",
  660. "code": 2080
  661. },
  662. "Supplied parameters do not match any signature of call target.": {
  663. "category": "Error",
  664. "code": 2081
  665. },
  666. "Supplied parameters do not match any signature of call target:{NL}{0}": {
  667. "category": "Error",
  668. "code": 2082
  669. },
  670. "Invalid 'new' expression.": {
  671. "category": "Error",
  672. "code": 2083
  673. },
  674. "Call signatures used in a 'new' expression must have a 'void' return type.": {
  675. "category": "Error",
  676. "code": 2084
  677. },
  678. "Could not select overload for 'new' expression.": {
  679. "category": "Error",
  680. "code": 2085
  681. },
  682. "Type '{0}' does not satisfy the constraint '{1}' for type parameter '{2}'.": {
  683. "category": "Error",
  684. "code": 2086
  685. },
  686. "Could not select overload for 'call' expression.": {
  687. "category": "Error",
  688. "code": 2087
  689. },
  690. "Cannot invoke an expression whose type lacks a call signature.": {
  691. "category": "Error",
  692. "code": 2088
  693. },
  694. "Calls to 'super' are only valid inside a class.": {
  695. "category": "Error",
  696. "code": 2089
  697. },
  698. "Generic type '{0}' requires {1} type argument(s).": {
  699. "category": "Error",
  700. "code": 2090
  701. },
  702. "Type of conditional expression cannot be determined. Best common type could not be found between '{0}' and '{1}'.": {
  703. "category": "Error",
  704. "code": 2091
  705. },
  706. "Type of array literal cannot be determined. Best common type could not be found for array elements.": {
  707. "category": "Error",
  708. "code": 2092
  709. },
  710. "Could not find enclosing symbol for dotted name '{0}'.": {
  711. "category": "Error",
  712. "code": 2093
  713. },
  714. "The property '{0}' does not exist on value of type '{1}'.": {
  715. "category": "Error",
  716. "code": 2094
  717. },
  718. "Could not find symbol '{0}'.": {
  719. "category": "Error",
  720. "code": 2095
  721. },
  722. "'get' and 'set' accessor must have the same type.": {
  723. "category": "Error",
  724. "code": 2096
  725. },
  726. "'this' cannot be referenced in current location.": {
  727. "category": "Error",
  728. "code": 2097
  729. },
  730. "Static methods cannot reference class type parameters.": {
  731. "category": "Error",
  732. "code": 2099
  733. },
  734. "Class '{0}' is recursively referenced as a base type of itself.": {
  735. "category": "Error",
  736. "code": 2100
  737. },
  738. "Interface '{0}' is recursively referenced as a base type of itself.": {
  739. "category": "Error",
  740. "code": 2101
  741. },
  742. "'super' property access is permitted only in a constructor, instance member function, or instance member accessor of a derived class.": {
  743. "category": "Error",
  744. "code": 2102
  745. },
  746. "'super' cannot be referenced in non-derived classes.": {
  747. "category": "Error",
  748. "code": 2103
  749. },
  750. "A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties.": {
  751. "category": "Error",
  752. "code": 2104
  753. },
  754. "Constructors for derived classes must contain a 'super' call.": {
  755. "category": "Error",
  756. "code": 2105
  757. },
  758. "Super calls are not permitted outside constructors or in local functions inside constructors.": {
  759. "category": "Error",
  760. "code": 2106
  761. },
  762. "'{0}.{1}' is inaccessible.": {
  763. "category": "Error",
  764. "code": 2107
  765. },
  766. "'this' cannot be referenced within module bodies.": {
  767. "category": "Error",
  768. "code": 2108
  769. },
  770. "Invalid '+' expression - types not known to support the addition operator.": {
  771. "category": "Error",
  772. "code": 2111
  773. },
  774. "The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": {
  775. "category": "Error",
  776. "code": 2112
  777. },
  778. "The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.": {
  779. "category": "Error",
  780. "code": 2113
  781. },
  782. "The type of a unary arithmetic operation operand must be of type 'any', 'number' or an enum type.": {
  783. "category": "Error",
  784. "code": 2114
  785. },
  786. "Variable declarations of a 'for' statement cannot use a type annotation.": {
  787. "category": "Error",
  788. "code": 2115
  789. },
  790. "Variable declarations of a 'for' statement must be of types 'string' or 'any'.": {
  791. "category": "Error",
  792. "code": 2116
  793. },
  794. "The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.": {
  795. "category": "Error",
  796. "code": 2117
  797. },
  798. "The left-hand side of an 'in' expression must be of types 'string' or 'any'.": {
  799. "category": "Error",
  800. "code": 2118
  801. },
  802. "The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.": {
  803. "category": "Error",
  804. "code": 2119
  805. },
  806. "The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.": {
  807. "category": "Error",
  808. "code": 2120
  809. },
  810. "The right-hand side of an 'instanceof' expression must be of type 'any' or a subtype of the 'Function' interface type.": {
  811. "category": "Error",
  812. "code": 2121
  813. },
  814. "Setters cannot return a value.": {
  815. "category": "Error",
  816. "code": 2122
  817. },
  818. "Tried to query type of uninitialized module '{0}'.": {
  819. "category": "Error",
  820. "code": 2123
  821. },
  822. "Tried to set variable type to uninitialized module type '{0}'.": {
  823. "category": "Error",
  824. "code": 2124
  825. },
  826. "Function '{0}' declared a non-void return type, but has no return expression.": {
  827. "category": "Error",
  828. "code": 2125
  829. },
  830. "Getters must return a value.": {
  831. "category": "Error",
  832. "code": 2126
  833. },
  834. "Getter and setter accessors do not agree in visibility.": {
  835. "category": "Error",
  836. "code": 2127
  837. },
  838. "Invalid left-hand side of assignment expression.": {
  839. "category": "Error",
  840. "code": 2130
  841. },
  842. "Function declared a non-void return type, but has no return expression.": {
  843. "category": "Error",
  844. "code": 2131
  845. },
  846. "Cannot resolve return type reference.": {
  847. "category": "Error",
  848. "code": 2132
  849. },
  850. "Constructors cannot have a return type of 'void'.": {
  851. "category": "Error",
  852. "code": 2133
  853. },
  854. "Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'.": {
  855. "category": "Error",
  856. "code": 2134
  857. },
  858. "All symbols within a with block will be resolved to 'any'.": {
  859. "category": "Error",
  860. "code": 2135
  861. },
  862. "Import declarations in an internal module cannot reference an external module.": {
  863. "category": "Error",
  864. "code": 2136
  865. },
  866. "Class {0} declares interface {1} but does not implement it:{NL}{2}": {
  867. "category": "Error",
  868. "code": 2137
  869. },
  870. "Class {0} declares class {1} as an interface but does not implement it:{NL}{2}": {
  871. "category": "Error",
  872. "code": 2138
  873. },
  874. "The operand of an increment or decrement operator must be a variable, property or indexer.": {
  875. "category": "Error",
  876. "code": 2139
  877. },
  878. "'this' cannot be referenced in static initializers in a class body.": {
  879. "category": "Error",
  880. "code": 2140
  881. },
  882. "Class '{0}' cannot extend class '{1}':{NL}{2}": {
  883. "category": "Error",
  884. "code": 2141
  885. },
  886. "Interface '{0}' cannot extend class '{1}':{NL}{2}": {
  887. "category": "Error",
  888. "code": 2142
  889. },
  890. "Interface '{0}' cannot extend interface '{1}':{NL}{2}": {
  891. "category": "Error",
  892. "code": 2143
  893. },
  894. "Duplicate overload signature for '{0}'.": {
  895. "category": "Error",
  896. "code": 2144
  897. },
  898. "Duplicate constructor overload signature.": {
  899. "category": "Error",
  900. "code": 2145
  901. },
  902. "Duplicate overload call signature.": {
  903. "category": "Error",
  904. "code": 2146
  905. },
  906. "Duplicate overload construct signature.": {
  907. "category": "Error",
  908. "code": 2147
  909. },
  910. "Overload signature is not compatible with function definition.": {
  911. "category": "Error",
  912. "code": 2148
  913. },
  914. "Overload signature is not compatible with function definition:{NL}{0}": {
  915. "category": "Error",
  916. "code": 2149
  917. },
  918. "Overload signatures must all be public or private.": {
  919. "category": "Error",
  920. "code": 2150
  921. },
  922. "Overload signatures must all be exported or local.": {
  923. "category": "Error",
  924. "code": 2151
  925. },
  926. "Overload signatures must all be ambient or non-ambient.": {
  927. "category": "Error",
  928. "code": 2152
  929. },
  930. "Overload signatures must all be optional or required.": {
  931. "category": "Error",
  932. "code": 2153
  933. },
  934. "Specialized overload signature is not subtype of any non-specialized signature.": {
  935. "category": "Error",
  936. "code": 2154
  937. },
  938. "'this' cannot be referenced in constructor arguments.": {
  939. "category": "Error",
  940. "code": 2155
  941. },
  942. "Static member cannot be accessed off an instance variable.": {
  943. "category": "Error",
  944. "code": 2156
  945. },
  946. "Instance member cannot be accessed off a class.": {
  947. "category": "Error",
  948. "code": 2157
  949. },
  950. "Untyped function calls may not accept type arguments.": {
  951. "category": "Error",
  952. "code": 2158
  953. },
  954. "Non-generic functions may not accept type arguments.": {
  955. "category": "Error",
  956. "code": 2159
  957. },
  958. "A generic type may not reference itself with a wrapped form of its own type parameters.": {
  959. "category": "Error",
  960. "code": 2160
  961. },
  962. "Rest parameters must be array types.": {
  963. "category": "Error",
  964. "code": 2162
  965. },
  966. "Overload signature implementation cannot use specialized type.": {
  967. "category": "Error",
  968. "code": 2163
  969. },
  970. "Export assignments may only be used at the top-level of external modules.": {
  971. "category": "Error",
  972. "code": 2164
  973. },
  974. "Export assignments may only be made with variables, functions, classes, interfaces, enums and internal modules": {
  975. "category": "Error",
  976. "code": 2165
  977. },
  978. "Only public instance methods of the base class are accessible via the 'super' keyword.": {
  979. "category": "Error",
  980. "code": 2166
  981. },
  982. "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}'.": {
  983. "category": "Error",
  984. "code": 2167
  985. },
  986. "Numeric indexer type '{0}' must be a subtype of string indexer type '{1}':{NL}{2}": {
  987. "category": "Error",
  988. "code": 2168
  989. },
  990. "All numerically named properties must be subtypes of numeric indexer type '{0}'.": {
  991. "category": "Error",
  992. "code": 2169
  993. },
  994. "All numerically named properties must be subtypes of numeric indexer type '{0}':{NL}{1}": {
  995. "category": "Error",
  996. "code": 2170
  997. },
  998. "All named properties must be subtypes of string indexer type '{0}'.": {
  999. "category": "Error",
  1000. "code": 2171
  1001. },
  1002. "All named properties must be subtypes of string indexer type '{0}':{NL}{1}": {
  1003. "category": "Error",
  1004. "code": 2172
  1005. },
  1006. "Generic type references must include all type arguments.": {
  1007. "category": "Error",
  1008. "code": 2173
  1009. },
  1010. "Default arguments are not allowed in an overload parameter.": {
  1011. "category": "Error",
  1012. "code": 2174
  1013. },
  1014. "Overloads cannot differ only by return type.": {
  1015. "category": "Error",
  1016. "code": 2175
  1017. },
  1018. "Function expression declared a non-void return type, but has no return expression.": {
  1019. "category": "Error",
  1020. "code": 2176
  1021. },
  1022. "Import declaration referencing identifier from internal module can only be made with variables, functions, classes, interfaces, enums and internal modules.": {
  1023. "category": "Error",
  1024. "code": 2177
  1025. },
  1026. "Could not find symbol '{0}' in module '{1}'.": {
  1027. "category": "Error",
  1028. "code": 2178
  1029. },
  1030. "Unable to resolve module reference '{0}'.": {
  1031. "category": "Error",
  1032. "code": 2179
  1033. },
  1034. "Could not find module '{0}' in module '{1}'.": {
  1035. "category": "Error",
  1036. "code": 2180
  1037. },
  1038. "Exported import declaration '{0}' is assigned value with type that has or is using private type '{1}'.": {
  1039. "category": "Error",
  1040. "code": 2181
  1041. },
  1042. "Exported import declaration '{0}' is assigned value with type that is using inaccessible module '{1}'.": {
  1043. "category": "Error",
  1044. "code": 2182
  1045. },
  1046. "Exported import declaration '{0}' is assigned type that has or is using private type '{1}'.": {
  1047. "category": "Error",
  1048. "code": 2183
  1049. },
  1050. "Exported import declaration '{0}' is assigned type that is using inaccessible module '{1}'.": {
  1051. "category": "Error",
  1052. "code": 2184
  1053. },
  1054. "Exported import declaration '{0}' is assigned container that is or is using inaccessible module '{1}'.": {
  1055. "category": "Error",
  1056. "code": 2185
  1057. },
  1058. "Type reference '{0}' in extends clause doesn't reference constructor function for '{1}'.": {
  1059. "category": "Error",
  1060. "code": 2186
  1061. },
  1062. "Internal module reference '{0}' in import declaration doesn't reference module instance for '{1}'.": {
  1063. "category": "Error",
  1064. "code": 2187
  1065. },
  1066. "Type '{0}' is missing property '{1}' from type '{2}'.": {
  1067. "category": "NoPrefix",
  1068. "code": 4000
  1069. },
  1070. "Types of property '{0}' of types '{1}' and '{2}' are incompatible.": {
  1071. "category": "NoPrefix",
  1072. "code": 4001
  1073. },
  1074. "Types of property '{0}' of types '{1}' and '{2}' are incompatible:{NL}{3}": {
  1075. "category": "NoPrefix",
  1076. "code": 4002
  1077. },
  1078. "Property '{0}' defined as private in type '{1}' is defined as public in type '{2}'.": {
  1079. "category": "NoPrefix",
  1080. "code": 4003
  1081. },
  1082. "Property '{0}' defined as public in type '{1}' is defined as private in type '{2}'.": {
  1083. "category": "NoPrefix",
  1084. "code": 4004
  1085. },
  1086. "Types '{0}' and '{1}' define property '{2}' as private.": {
  1087. "category": "NoPrefix",
  1088. "code": 4005
  1089. },
  1090. "Call signatures of types '{0}' and '{1}' are incompatible.": {
  1091. "category": "NoPrefix",
  1092. "code": 4006
  1093. },
  1094. "Call signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": {
  1095. "category": "NoPrefix",
  1096. "code": 4007
  1097. },
  1098. "Type '{0}' requires a call signature, but type '{1}' lacks one.": {
  1099. "category": "NoPrefix",
  1100. "code": 4008
  1101. },
  1102. "Construct signatures of types '{0}' and '{1}' are incompatible.": {
  1103. "category": "NoPrefix",
  1104. "code": 4009
  1105. },
  1106. "Construct signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": {
  1107. "category": "NoPrefix",
  1108. "code": 40010
  1109. },
  1110. "Type '{0}' requires a construct signature, but type '{1}' lacks one.": {
  1111. "category": "NoPrefix",
  1112. "code": 4011
  1113. },
  1114. "Index signatures of types '{0}' and '{1}' are incompatible.": {
  1115. "category": "NoPrefix",
  1116. "code": 4012
  1117. },
  1118. "Index signatures of types '{0}' and '{1}' are incompatible:{NL}{2}": {
  1119. "category": "NoPrefix",
  1120. "code": 4013
  1121. },
  1122. "Call signature expects {0} or fewer parameters.": {
  1123. "category": "NoPrefix",
  1124. "code": 4014
  1125. },
  1126. "Could not apply type '{0}' to argument {1} which is of type '{2}'.": {
  1127. "category": "NoPrefix",
  1128. "code": 4015
  1129. },
  1130. "Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.": {
  1131. "category": "NoPrefix",
  1132. "code": 4016
  1133. },
  1134. "Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.": {
  1135. "category": "NoPrefix",
  1136. "code": 4017
  1137. },
  1138. "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.": {
  1139. "category": "NoPrefix",
  1140. "code": 4018
  1141. },
  1142. "Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property.": {
  1143. "category": "NoPrefix",
  1144. "code": 4019
  1145. },
  1146. "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible.": {
  1147. "category": "NoPrefix",
  1148. "code": 4020
  1149. },
  1150. "Types of static property '{0}' of class '{1}' and class '{2}' are incompatible:{NL}{3}": {
  1151. "category": "NoPrefix",
  1152. "code": 4021
  1153. },
  1154. "Type reference cannot refer to container '{0}'.": {
  1155. "category": "Error",
  1156. "code": 4022
  1157. },
  1158. "Type reference must refer to type.": {
  1159. "category": "Error",
  1160. "code": 4023
  1161. },
  1162. "Enums with multiple declarations must provide an initializer for the first enum element.": {
  1163. "category": "Error",
  1164. "code": 4024
  1165. },
  1166. " (+ {0} overload(s))": {
  1167. "category": "Message",
  1168. "code": 4025
  1169. },
  1170. "Current host does not support '{0}' option.": {
  1171. "category": "Error",
  1172. "code": 5001
  1173. },
  1174. "ECMAScript target version '{0}' not supported. Using default '{1}' code generation.": {
  1175. "category": "Warning",
  1176. "code": 5002
  1177. },
  1178. "Module code generation '{0}' not supported.": {
  1179. "category": "Warning",
  1180. "code": 5003
  1181. },
  1182. "Could not find file: '{0}'.": {
  1183. "category": "Error",
  1184. "code": 5004
  1185. },
  1186. "A file cannot have a reference to itself.": {
  1187. "category": "Error",
  1188. "code": 5006
  1189. },
  1190. "Cannot resolve referenced file: '{0}'.": {
  1191. "category": "Error",
  1192. "code": 5007
  1193. },
  1194. "Cannot find the common subdirectory path for the input files.": {
  1195. "category": "Error",
  1196. "code": 5009
  1197. },
  1198. "Emit Error: {0}.": {
  1199. "category": "Error",
  1200. "code": 5011
  1201. },
  1202. "Cannot read file '{0}': {1}": {
  1203. "category": "Error",
  1204. "code": 5012
  1205. },
  1206. "Unsupported file encoding.": {
  1207. "category": "NoPrefix",
  1208. "code": 5013
  1209. },
  1210. "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.": {
  1211. "category": "Error",
  1212. "code": 5014
  1213. },
  1214. "Unsupported locale: '{0}'.": {
  1215. "category": "Error",
  1216. "code": 5015
  1217. },
  1218. "Execution Failed.{NL}": {
  1219. "category": "Error",
  1220. "code": 5016
  1221. },
  1222. "Should not emit a type query": {
  1223. "category": "Error",
  1224. "code": 5017
  1225. },
  1226. "Should not emit a type reference": {
  1227. "category": "Error",
  1228. "code": 5018
  1229. },
  1230. "Invalid call to 'up'": {
  1231. "category": "Error",
  1232. "code": 5019
  1233. },
  1234. "Invalid call to 'down'": {
  1235. "category": "Error",
  1236. "code": 5020
  1237. },
  1238. "Base64 value '{0}' finished with a continuation bit": {
  1239. "category": "Error",
  1240. "code": 5021
  1241. },
  1242. "Key was already in table": {
  1243. "category": "Error",
  1244. "code": 5022
  1245. },
  1246. "Unknown option '{0}'": {
  1247. "category": "Error",
  1248. "code": 5023
  1249. },
  1250. "Expected {0} arguments to message, got {1} instead": {
  1251. "category": "Error",
  1252. "code": 5024
  1253. },
  1254. "Expected the message '{0}' to have {1} arguments, but it had {2}": {
  1255. "category": "Error",
  1256. "code": 5025
  1257. },
  1258. "Invalid argument: {0}. {1}": {
  1259. "category": "Error",
  1260. "code": 5026
  1261. },
  1262. "Invalid argument: {0}.": {
  1263. "category": "Error",
  1264. "code": 5027
  1265. },
  1266. "Argument out of range: {0}.": {
  1267. "category": "Error",
  1268. "code": 5028
  1269. },
  1270. "Argument null: {0}.": {
  1271. "category": "Error",
  1272. "code": 5029
  1273. },
  1274. "Operation not implemented properly by subclass.": {
  1275. "category": "Error",
  1276. "code": 5030
  1277. },
  1278. "Not yet implemented.": {
  1279. "category": "Error",
  1280. "code": 5031
  1281. },
  1282. "Invalid operation: {0}": {
  1283. "category": "Error",
  1284. "code": 5032
  1285. },
  1286. "Invalid operation.": {
  1287. "category": "Error",
  1288. "code": 5033
  1289. },
  1290. "Could not delete file '{0}'": {
  1291. "category": "Error",
  1292. "code": 5034
  1293. },
  1294. "Could not create directory '{0}'": {
  1295. "category": "Error",
  1296. "code": 5035
  1297. },
  1298. "Error while executing file '{0}': ": {
  1299. "category": "Error",
  1300. "code": 5036
  1301. },
  1302. "Cannot compile external modules unless the '--module' flag is provided.": {
  1303. "category": "Error",
  1304. "code": 5037
  1305. },
  1306. "Option mapRoot cannot be specified without specifying sourcemap option.": {
  1307. "category": "Error",
  1308. "code": 5038
  1309. },
  1310. "Option sourceRoot cannot be specified without specifying sourcemap option.": {
  1311. "category": "Error",
  1312. "code": 5039
  1313. },
  1314. "Options mapRoot and sourceRoot cannot be specified without specifying sourcemap option.": {
  1315. "category": "Error",
  1316. "code": 5040
  1317. },
  1318. "Option '{0}' specified without '{1}'": {
  1319. "category": "Error",
  1320. "code": 5041
  1321. },
  1322. "'codepage' option not supported on current platform.": {
  1323. "category": "Error",
  1324. "code": 5042
  1325. },
  1326. "Concatenate and emit output to single file.": {
  1327. "category": "Message",
  1328. "code": 6001
  1329. },
  1330. "Generates corresponding {0} file": {
  1331. "category": "Message",
  1332. "code": 6002
  1333. },
  1334. "Specifies the location where debugger should locate map files instead of generated locations.": {
  1335. "category": "Message",
  1336. "code": 6003
  1337. },
  1338. "Specifies the location where debugger should locate TypeScript files instead of source locations.": {
  1339. "category": "Message",
  1340. "code": 6004
  1341. },
  1342. "Watch input files": {
  1343. "category": "Message",
  1344. "code": 6005
  1345. },
  1346. "Redirect output structure to the directory": {
  1347. "category": "Message",
  1348. "code": 6006
  1349. },
  1350. "Do not emit comments to output": {
  1351. "category": "Message",
  1352. "code": 6009
  1353. },
  1354. "Skip resolution and preprocessing": {
  1355. "category": "Message",
  1356. "code": 6010
  1357. },
  1358. "Specify ECMAScript target version: \"{0}\" (default), or \"{1}\"": {
  1359. "category": "Message",
  1360. "code": 6015
  1361. },
  1362. "Specify module code generation: \"{0}\" or \"{1}\"": {
  1363. "category": "Message",
  1364. "code": 6016
  1365. },
  1366. "Print this message": {
  1367. "category": "Message",
  1368. "code": 6017
  1369. },
  1370. "Print the compiler's version: {0}": {
  1371. "category": "Message",
  1372. "code": 6019
  1373. },
  1374. "Allow use of deprecated \"{0}\" keyword when referencing an external module": {
  1375. "category": "Message",
  1376. "code": 6021
  1377. },
  1378. "Specify locale for errors and messages. For example '{0}' or '{1}'": {
  1379. "category": "Message",
  1380. "code": 6022
  1381. },
  1382. "Syntax: {0}": {
  1383. "category": "Message",
  1384. "code": 6023
  1385. },
  1386. "options": {
  1387. "category": "Message",
  1388. "code": 6024
  1389. },
  1390. "file": {
  1391. "category": "Message",
  1392. "code": 6025
  1393. },
  1394. "Examples:": {
  1395. "category": "Message",
  1396. "code": 6026
  1397. },
  1398. "Options:": {
  1399. "category": "Message",
  1400. "code": 6027
  1401. },
  1402. "Insert command line options and files from a file.": {
  1403. "category": "Message",
  1404. "code": 6028
  1405. },
  1406. "Version {0}": {
  1407. "category": "Message",
  1408. "code": 6029
  1409. },
  1410. "Insert command line options and files from a file.": {
  1411. "category": "Message",
  1412. "code": 6030
  1413. },
  1414. "Use the '{0}' flag to see options": {
  1415. "category": "Message",
  1416. "code": 6031
  1417. },
  1418. "{NL}Recompiling ({0}):": {
  1419. "category": "Message",
  1420. "code": 6032
  1421. },
  1422. "STRING": {
  1423. "category": "Message",
  1424. "code": 6033
  1425. },
  1426. "KIND": {
  1427. "category": "Message",
  1428. "code": 6034
  1429. },
  1430. "FILE": {
  1431. "category": "Message",
  1432. "code": 6035
  1433. },
  1434. "VERSION": {
  1435. "category": "Message",
  1436. "code": 6036
  1437. },
  1438. "LOCATION": {
  1439. "category": "Message",
  1440. "code": 6037
  1441. },
  1442. "DIRECTORY": {
  1443. "category": "Message",
  1444. "code": 6038
  1445. },
  1446. "NUMBER": {
  1447. "category": "Message",
  1448. "code": 6039
  1449. },
  1450. "Specify the codepage to use when opening source files.": {
  1451. "category": "Message",
  1452. "code": 6040
  1453. },
  1454. "This version of the Javascript runtime does not support the '{0}' function.": {
  1455. "category": "Error",
  1456. "code": 7000
  1457. },
  1458. "Looking up path for identifier token did not result in an identifer.": {
  1459. "category": "Error",
  1460. "code": 7001
  1461. },
  1462. "Unknown rule": {
  1463. "category": "Error",
  1464. "code": 7002
  1465. },
  1466. "Invalid line number ({0})": {
  1467. "category": "Error",
  1468. "code": 7003
  1469. },
  1470. "Warn on expressions and declarations with an implied 'any' type.": {
  1471. "category": "Message",
  1472. "code": 7004
  1473. },
  1474. "Variable '{0}' implicitly has an 'any' type.": {
  1475. "category": "Error",
  1476. "code": 7005
  1477. },
  1478. "Parameter '{0}' of '{1}' implicitly has an 'any' type.": {
  1479. "category": "Error",
  1480. "code": 7006
  1481. },
  1482. "Parameter '{0}' of function type implicitly has an 'any' type.": {
  1483. "category": "Error",
  1484. "code": 7007
  1485. },
  1486. "Member '{0}' of object type implicitly has an 'any' type.": {
  1487. "category": "Error",
  1488. "code": 7008
  1489. },
  1490. "\"New\" expression, which lacks a constructor signature, implicitly has an 'any' type.": {
  1491. "category": "Error",
  1492. "code": 7009
  1493. },
  1494. "'{0}', which lacks return-type annotation, implicitly has an 'any' return type.":{
  1495. "category": "Error",
  1496. "code": 7010
  1497. },
  1498. "Function expression, which lacks return-type annotation, implicitly has an 'any' return type.":{
  1499. "category": "Error",
  1500. "code": 7011
  1501. },
  1502. "Parameter '{0}' of lambda function implicitly has an 'any' type.":{
  1503. "category": "Error",
  1504. "code": 7012
  1505. },
  1506. "Constructor signature, which lacks return-type annotation, implicitly has an 'any' return type.":{
  1507. "category": "Error",
  1508. "code": 7013
  1509. },
  1510. "Lambda Function, which lacks return-type annotation, implicitly has an 'any' return type.":{
  1511. "category": "Error",
  1512. "code": 7014
  1513. },
  1514. "Array Literal implicitly has an 'any' type from widening.":{
  1515. "category": "Error",
  1516. "code": 7014
  1517. },
  1518. "Use of deprecated type 'bool'. Use 'boolean' instead.": {
  1519. "category": "Warning",
  1520. "code": 7020
  1521. },
  1522. "'module(...)' is deprecated. Use 'require(...)' instead.": {
  1523. "category": "Warning",
  1524. "code": 7021
  1525. },
  1526. "Allow 'bool' as a synonym for 'boolean'.": {
  1527. "category": "Message",
  1528. "code": 7022
  1529. },
  1530. "Allow 'module(...)' as a synonym for 'require(...)'.": {
  1531. "category": "Message",
  1532. "code": 7022
  1533. },
  1534. }