mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Fix a test case by the description
Should test with Node type with extra properties.
This commit is contained in:
@@ -61,6 +61,7 @@ file.message('test', position);
|
||||
file.message('test', {
|
||||
type: 'ramdom node',
|
||||
position,
|
||||
extraValue: 'extra tango',
|
||||
});
|
||||
// But, it must reject any malformed position
|
||||
file.message('test', { start: 'invalid point' }); // $ExpectError
|
||||
|
||||
Reference in New Issue
Block a user