mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Accept baseline changes from code refactoring
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
tests/cases/compiler/index.js(2,19): error TS2315: Type 'boolean' is not generic.
|
||||
tests/cases/compiler/index2.js(2,19): error TS2315: Type 'void' is not generic.
|
||||
tests/cases/compiler/index3.js(2,19): error TS2315: Type 'undefined' is not generic.
|
||||
tests/cases/compiler/index.js(2,19): error TS2315: Type 'Boolean' is not generic.
|
||||
tests/cases/compiler/index2.js(2,19): error TS2315: Type 'Void' is not generic.
|
||||
tests/cases/compiler/index3.js(2,19): error TS2315: Type 'Undefined' is not generic.
|
||||
tests/cases/compiler/index4.js(2,19): error TS2315: Type 'Function' is not generic.
|
||||
tests/cases/compiler/index5.js(2,19): error TS2315: Type 'string' is not generic.
|
||||
tests/cases/compiler/index6.js(2,19): error TS2315: Type 'number' is not generic.
|
||||
tests/cases/compiler/index7.js(2,19): error TS2315: Type 'any' is not generic.
|
||||
tests/cases/compiler/index5.js(2,19): error TS2315: Type 'String' is not generic.
|
||||
tests/cases/compiler/index6.js(2,19): error TS2315: Type 'Number' is not generic.
|
||||
tests/cases/compiler/index7.js(2,19): error TS2315: Type 'Object' is not generic.
|
||||
tests/cases/compiler/index8.js(4,12): error TS2304: Cannot find name 'fn'.
|
||||
tests/cases/compiler/index8.js(4,15): error TS2304: Cannot find name 'T'.
|
||||
|
||||
@@ -13,7 +13,7 @@ tests/cases/compiler/index8.js(4,15): error TS2304: Cannot find name 'T'.
|
||||
/**
|
||||
* @param {<T>(m: Boolean<T>) => string} somebody
|
||||
~~~~~~~~~~
|
||||
!!! error TS2315: Type 'boolean' is not generic.
|
||||
!!! error TS2315: Type 'Boolean' is not generic.
|
||||
*/
|
||||
function sayHello(somebody) {
|
||||
return 'Hello ' + somebody;
|
||||
@@ -23,7 +23,7 @@ tests/cases/compiler/index8.js(4,15): error TS2304: Cannot find name 'T'.
|
||||
/**
|
||||
* @param {<T>(m: Void<T>) => string} somebody
|
||||
~~~~~~~
|
||||
!!! error TS2315: Type 'void' is not generic.
|
||||
!!! error TS2315: Type 'Void' is not generic.
|
||||
*/
|
||||
function sayHello2(somebody) {
|
||||
return 'Hello ' + somebody;
|
||||
@@ -34,7 +34,7 @@ tests/cases/compiler/index8.js(4,15): error TS2304: Cannot find name 'T'.
|
||||
/**
|
||||
* @param {<T>(m: Undefined<T>) => string} somebody
|
||||
~~~~~~~~~~~~
|
||||
!!! error TS2315: Type 'undefined' is not generic.
|
||||
!!! error TS2315: Type 'Undefined' is not generic.
|
||||
*/
|
||||
function sayHello3(somebody) {
|
||||
return 'Hello ' + somebody;
|
||||
@@ -56,7 +56,7 @@ tests/cases/compiler/index8.js(4,15): error TS2304: Cannot find name 'T'.
|
||||
/**
|
||||
* @param {<T>(m: String<T>) => string} somebody
|
||||
~~~~~~~~~
|
||||
!!! error TS2315: Type 'string' is not generic.
|
||||
!!! error TS2315: Type 'String' is not generic.
|
||||
*/
|
||||
function sayHello5(somebody) {
|
||||
return 'Hello ' + somebody;
|
||||
@@ -67,7 +67,7 @@ tests/cases/compiler/index8.js(4,15): error TS2304: Cannot find name 'T'.
|
||||
/**
|
||||
* @param {<T>(m: Number<T>) => string} somebody
|
||||
~~~~~~~~~
|
||||
!!! error TS2315: Type 'number' is not generic.
|
||||
!!! error TS2315: Type 'Number' is not generic.
|
||||
*/
|
||||
function sayHello6(somebody) {
|
||||
return 'Hello ' + somebody;
|
||||
@@ -78,7 +78,7 @@ tests/cases/compiler/index8.js(4,15): error TS2304: Cannot find name 'T'.
|
||||
/**
|
||||
* @param {<T>(m: Object<T>) => string} somebody
|
||||
~~~~~~~~~
|
||||
!!! error TS2315: Type 'any' is not generic.
|
||||
!!! error TS2315: Type 'Object' is not generic.
|
||||
*/
|
||||
function sayHello7(somebody) {
|
||||
return 'Hello ' + somebody;
|
||||
|
||||
Reference in New Issue
Block a user