mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Introduced $ExpectError.
See https://github.com/Microsoft/dtslint#write-tests
This commit is contained in:
@@ -105,7 +105,7 @@ const BindingKindTest: Visitor = {
|
||||
kind === 'const';
|
||||
kind === 'let';
|
||||
kind === 'var';
|
||||
// The following should fail when uncommented
|
||||
// kind === 'anythingElse';
|
||||
// $ExpectError
|
||||
kind === 'anythingElse';
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user