You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
+125
Original file line number
Diff line number
Diff line change
@@ -6227,6 +6227,11 @@
6227
6227
"category": "Message",
6228
6228
"code": 6718
6229
6229
},
6230
+
"Require sufficient annotation on exports so other tools can trivially generate declaration files.": {
6231
+
"category": "Message",
6232
+
"code": 6719
6233
+
},
6234
+
6230
6235
"Default catch clause variables as 'unknown' instead of 'any'.": {
6231
6236
"category": "Message",
6232
6237
"code": 6803
@@ -6741,6 +6746,126 @@
6741
6746
"category": "Error",
6742
6747
"code": 9006
6743
6748
},
6749
+
"Function must have an explicit return type annotation with --isolatedDeclarations.": {
6750
+
"category": "Error",
6751
+
"code": 9007
6752
+
},
6753
+
"Method must have an explicit return type annotation with --isolatedDeclarations.": {
6754
+
"category": "Error",
6755
+
"code": 9008
6756
+
},
6757
+
"At least one accessor must have an explicit return type annotation with --isolatedDeclarations.": {
6758
+
"category": "Error",
6759
+
"code": 9009
6760
+
},
6761
+
"Variable must have an explicit type annotation with --isolatedDeclarations.": {
6762
+
"category": "Error",
6763
+
"code": 9010
6764
+
},
6765
+
"Parameter must have an explicit type annotation with --isolatedDeclarations.": {
6766
+
"category": "Error",
6767
+
"code": 9011
6768
+
},
6769
+
"Property must have an explicit type annotation with --isolatedDeclarations.": {
6770
+
"category": "Error",
6771
+
"code": 9012
6772
+
},
6773
+
"Expression type can't be inferred with --isolatedDeclarations.": {
6774
+
"category": "Error",
6775
+
"code": 9013
6776
+
},
6777
+
"Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations.": {
6778
+
"category": "Error",
6779
+
"code": 9014
6780
+
},
6781
+
"Objects that contain spread assignments can't be inferred with --isolatedDeclarations.": {
6782
+
"category": "Error",
6783
+
"code": 9015
6784
+
},
6785
+
"Objects that contain shorthand properties can't be inferred with --isolatedDeclarations.": {
6786
+
"category": "Error",
6787
+
"code": 9016
6788
+
},
6789
+
"Only const arrays can be inferred with --isolatedDeclarations.": {
6790
+
"category": "Error",
6791
+
"code": 9017
6792
+
},
6793
+
"Arrays with spread elements can't inferred with --isolatedDeclarations.": {
6794
+
"category": "Error",
6795
+
"code": 9018
6796
+
},
6797
+
"Binding elements can't be exported directly with --isolatedDeclarations.": {
6798
+
"category": "Error",
6799
+
"code": 9019
6800
+
},
6801
+
"Enum member initializers must be computable without references to external symbols with --isolatedDeclarations.": {
6802
+
"category": "Error",
6803
+
"code": 9020
6804
+
},
6805
+
"Extends clause can't contain an expression with --isolatedDeclarations.": {
6806
+
"category": "Error",
6807
+
"code": 9021
6808
+
},
6809
+
"Inference from class expressions is not supported with --isolatedDeclarations.": {
6810
+
"category": "Error",
6811
+
"code": 9022
6812
+
},
6813
+
"Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function.": {
6814
+
"category": "Error",
6815
+
"code": 9023
6816
+
},
6817
+
"Declaration emit for this parameter requires implicitly adding undefined to it's type. This is not supported with --isolatedDeclarations.": {
6818
+
"category": "Error",
6819
+
"code": 9025
6820
+
},
6821
+
"Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations.": {
6822
+
"category": "Error",
6823
+
"code": 9026
6824
+
},
6825
+
"Add a type annotation to the variable {0}.": {
6826
+
"category": "Error",
6827
+
"code": 9027
6828
+
},
6829
+
"Add a type annotation to the parameter {0}.": {
6830
+
"category": "Error",
6831
+
"code": 9028
6832
+
},
6833
+
"Add a type annotation to the property {0}.": {
6834
+
"category": "Error",
6835
+
"code": 9029
6836
+
},
6837
+
"Add a return type to the function expression.": {
6838
+
"category": "Error",
6839
+
"code": 9030
6840
+
},
6841
+
"Add a return type to the function declaration.": {
6842
+
"category": "Error",
6843
+
"code": 9031
6844
+
},
6845
+
"Add a return type to the get accessor declaration.": {
6846
+
"category": "Error",
6847
+
"code": 9032
6848
+
},
6849
+
"Add a type to parameter of the set accessor declaration.": {
6850
+
"category": "Error",
6851
+
"code": 9033
6852
+
},
6853
+
"Add a return type to the method": {
6854
+
"category": "Error",
6855
+
"code": 9034
6856
+
},
6857
+
"Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit.": {
6858
+
"category": "Error",
6859
+
"code": 9035
6860
+
},
6861
+
"Move the expression in default export to a variable and add a type annotation to it.": {
6862
+
"category": "Error",
6863
+
"code": 9036
6864
+
},
6865
+
"Default exports can't be inferred with --isolatedDeclarations.": {
6866
+
"category": "Error",
6867
+
"code": 9037
6868
+
},
6744
6869
"JSX attributes must only be assigned a non-empty 'expression'.": {
0 commit comments