Skip to content

Commit 3cda0ea

Browse files
committed
Update tests
1 parent ec35b80 commit 3cda0ea

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/baselines/reference/covariantCallbacks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ function f14(a: AList4, b: BList4) {
7272

7373

7474
//// [covariantCallbacks.js]
75+
"use strict";
7576
// Test that callback parameters are related covariantly
7677
;
7778
function f1(a, b) {

tests/cases/conformance/types/typeRelationships/assignmentCompatibility/covariantCallbacks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// @target: es2015
2+
// @strict: true
23

34
// Test that callback parameters are related covariantly
45

0 commit comments

Comments
 (0)