You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add test case
* Fix infer from usage property assignment
Property assignment and shorthand property assignment were incorrectly
treated differently; both have ObjectLiteralExpression as a parent, but
the code previously assumed that property assignments had
ObjectLiteralExpression as parent.parent.
Also make fourslash directives case insensitive and less whitespace
sensitive.
* Add "incorrect 3-slash" error to fourslash parsing.
Copy file name to clipboardExpand all lines: src/harness/fourslash.ts
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -80,11 +80,11 @@ namespace FourSlash {
80
80
// To add additional option, add property into the testOptMetadataNames, refer the property in either globalMetadataNames or fileMetadataNames
81
81
// Add cases into convertGlobalOptionsToCompilationsSettings function for the compiler to acknowledge such option from meta data
82
82
constenumMetadataOptionNames{
83
-
baselineFile="BaselineFile",
84
-
emitThisFile="emitThisFile",// This flag is used for testing getEmitOutput feature. It allows test-cases to indicate what file to be output in multiple files project
85
-
fileName="Filename",
86
-
resolveReference="ResolveReference",// This flag is used to specify entry file for resolve file references. The flag is only allow once per test file
87
-
symlink="Symlink",
83
+
baselineFile="baselinefile",
84
+
emitThisFile="emitthisfile",// This flag is used for testing getEmitOutput feature. It allows test-cases to indicate what file to be output in multiple files project
85
+
fileName="filename",
86
+
resolveReference="resolvereference",// This flag is used to specify entry file for resolve file references. The flag is only allow once per test file
0 commit comments