File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -1305,6 +1305,28 @@ exports[`TSGoLint E2E Snapshot Tests > should generate consistent diagnostics sn
13051305 },
13061306 " rule" : " no-unnecessary-template-expression" ,
13071307 } ,
1308+ {
1309+ " file_path" : " fixtures/basic/rules/no-unnecessary-type-arguments/index.ts" ,
1310+ " fixes" : [
1311+ {
1312+ " range" : {
1313+ " end" : 214 ,
1314+ " pos" : 206 ,
1315+ },
1316+ " text" : " " ,
1317+ },
1318+ ],
1319+ " kind" : 0 ,
1320+ " message" : {
1321+ " description" : " This value can be trivially inferred for this type parameter, so it can be omitted." ,
1322+ " id" : " canBeInferred" ,
1323+ },
1324+ " range" : {
1325+ " end" : 213 ,
1326+ " pos" : 207 ,
1327+ },
1328+ " rule" : " no-unnecessary-type-arguments" ,
1329+ } ,
13081330 {
13091331 " file_path" : " fixtures/basic/rules/no-unnecessary-type-arguments/index.ts" ,
13101332 " fixes" : [
@@ -1319,7 +1341,7 @@ exports[`TSGoLint E2E Snapshot Tests > should generate consistent diagnostics sn
13191341 " kind" : 0 ,
13201342 " message" : {
13211343 " description" : " This is the default value for this type parameter, so it can be omitted." ,
1322- " id" : " unnecessaryTypeParameter " ,
1344+ " id" : " isDefaultParameterValue " ,
13231345 },
13241346 " range" : {
13251347 " end" : 213 ,
You can’t perform that action at this time.
0 commit comments