mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Change to a test value that will certainly ever happen
String literals are not reliable to expect errors on since the spec may change and accept `string`
This commit is contained in:
@@ -70,7 +70,7 @@ styleSheet.addRule('badProperty', {
|
||||
});
|
||||
|
||||
styleSheet.addRule('badValue', { // $ExpectError
|
||||
'align-items': 'thisIsNotAValidValue',
|
||||
'align-items': Symbol(),
|
||||
});
|
||||
|
||||
styleSheet.detach();
|
||||
|
||||
Reference in New Issue
Block a user