File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -521,7 +521,7 @@ export interface SuggestedEditBase {
521521 /**
522522 * The data to insert into the message.
523523 */
524- data ?: Record < string , string | number | boolean | bigint > | undefined ; // TODO
524+ data ?: Record < string , string | number | boolean | bigint > | undefined ;
525525
526526 /**
527527 * The fix to be applied for the suggestion.
Original file line number Diff line number Diff line change @@ -323,9 +323,11 @@ const testRule: RuleDefinition<{
323323 foo : "foo" ,
324324 bar : 1 ,
325325 baz : true ,
326- qux : 1n ,
326+ quz : 1n ,
327+ // @ts -expect-error Symbols are not allowed in data
328+ quux : Symbol ( "quux" ) ,
327329 // @ts -expect-error Objects are not allowed in data
328- quux : {
330+ quuz : {
329331 hi : "hi" ,
330332 } ,
331333 // @ts -expect-error Functions are not allowed in data
@@ -345,8 +347,11 @@ const testRule: RuleDefinition<{
345347 foo : "foo" ,
346348 bar : 1 ,
347349 baz : true ,
350+ quz : 1n ,
351+ // @ts -expect-error Symbols are not allowed in data
352+ quux : Symbol ( "quux" ) ,
348353 // @ts -expect-error Objects are not allowed in data
349- quux : {
354+ quuz : {
350355 hi : "hi" ,
351356 } ,
352357 // @ts -expect-error Functions are not allowed in data
You can’t perform that action at this time.
0 commit comments