PageRenderTime 74ms CodeModel.GetById 34ms RepoModel.GetById 1ms app.codeStats 0ms

/src/compiler/resources/diagnosticInformationMap.generated.ts

#
TypeScript | 1534 lines | 1532 code | 0 blank | 2 comment | 0 complexity | 1008335e7a42821fc3564fa746094bc2 MD5 | raw file
Possible License(s): Apache-2.0

Large files files are truncated, but you can click here to view the full file

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

Large files files are truncated, but you can click here to view the full file