diff --git a/tests/baselines/reference/jsdocTypeNongenericInstantiationAttempt.errors.txt b/tests/baselines/reference/jsdocTypeNongenericInstantiationAttempt.errors.txt index 645eca539f4..941e4386f99 100644 --- a/tests/baselines/reference/jsdocTypeNongenericInstantiationAttempt.errors.txt +++ b/tests/baselines/reference/jsdocTypeNongenericInstantiationAttempt.errors.txt @@ -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 {(m: Boolean) => 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 {(m: Void) => 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 {(m: Undefined) => 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 {(m: String) => 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 {(m: Number) => 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 {(m: Object) => string} somebody ~~~~~~~~~ -!!! error TS2315: Type 'any' is not generic. +!!! error TS2315: Type 'Object' is not generic. */ function sayHello7(somebody) { return 'Hello ' + somebody;