| /third_party/typescript/tests/baselines/reference/ |
| H A D | nameDelimitedBySlashes.js | 19 var foo = require("./test/foo_0");
variable
|
| H A D | nameWithFileExtension.js | 19 var foo = require("./foo_0.js");
variable
|
| H A D | narrowUnknownByTypeofObject.js | 2 function foo(x: unknown) { function
|
| H A D | newTargetNarrowing.js | 2 function foo(x: true) { } function
|
| H A D | noExcessiveStackDepthError.js | 21 function foo() {
function
|
| H A D | noReachabilityErrorsOnEmptyStatement.js | 2 function foo() { function
|
| H A D | nonArrayRestArgs.js | 2 function foo(...rest: number) { // error function
|
| H A D | nonPrimitiveAndTypeVariables.js | 21 function foo(x) {
function
|
| H A D | nullishCoalescingOperator6.js | 2 function foo(foo: string, bar = foo ?? "bar") { } function
|
| H A D | objectCreationExpressionInFunctionParameter.js | 6 function foo(x = new A(123)) { //should error, 123 is not string function
|
| H A D | objectLiteralMemberWithModifiers1.js | |
| H A D | objectLiteralMemberWithQuestionMark1.js | |
| H A D | objectLiteralWithSemicolons5.js | |
| H A D | objectTypesIdentityWithComplexConstraints.js | 15 function foo(x: any) { }
function
|
| H A D | optionalArgsWithDefaultValues.js | 2 function foo(x: number, y?:boolean=false, z?=0) {} function
|
| H A D | optionalBindingParameters1.js | 2 function foo([x,y,z]?: [string, number, boolean]) { function
|
| H A D | optionalBindingParameters2.js | 2 function foo({ x, y, z }?: { x: string; y: number; z: boolean }) { function
|
| H A D | optionalBindingParametersInOverloads1.js | 3 function foo(...rest: any[]) { function
|
| H A D | optionalBindingParametersInOverloads2.js | 3 function foo(...rest: any[]) { function
|
| H A D | overloadOnConstConstraintChecks2.js | 50 function foo(name) {
function
|
| H A D | overloadOnConstConstraintChecks3.js | 52 function foo(name) {
function
|
| H A D | overloadOnConstConstraintChecks4.js | 61 function foo(name) {
function
|
| H A D | overloadOnConstantsInvalidOverload1.js | 60 function foo(name) {
function
|
| H A D | overloadResolutionOverCTLambda.js | 2 function foo(b: (item: number) => boolean) { } function
|
| H A D | overloadingOnConstantsInImplementation.js | 4 function foo(a: 'hi', x: any) { function
|