Skip to content

Commit f02417c

Browse files
committed
Regenerate baseline after rebasing
1 parent b74922b commit f02417c

File tree

3 files changed

+7
-0
lines changed
  • tests/baselines/reference/config
    • initTSConfig
    • showConfig/Shows tsconfig for single option/inferInstanceTypeArgumentsAsConstraint

3 files changed

+7
-0
lines changed

tests/baselines/reference/config/initTSConfig/Initialized TSConfig with --watch/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
8585
// "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
8686
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
87+
// "inferInstanceTypeArgumentsAsConstraint": true, /* Default type arguments to parameter constraint or 'unknown' instead of 'any'. */
8788
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
8889
// "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
8990
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */

tests/baselines/reference/config/initTSConfig/Initialized TSConfig with incorrect compiler option/tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
// "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
8585
// "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
8686
// "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
87+
// "inferInstanceTypeArgumentsAsConstraint": true, /* Default type arguments to parameter constraint or 'unknown' instead of 'any'. */
8788
// "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
8889
// "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
8990
// "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"compilerOptions": {
3+
"inferInstanceTypeArgumentsAsConstraint": true
4+
}
5+
}

0 commit comments

Comments
 (0)