Update tests

This commit is contained in:
Anders Hejlsberg 2018-05-25 15:59:03 -07:00
parent 946e465bdd
commit c360bb31bd
6 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,7 @@
// @target: es5
// @lib: es6
// @strict: true
// @strictAny: false
// repro for: https://github.com/Microsoft/TypeScript/issues/23661
export interface IValidationError {

View File

@ -1,4 +1,5 @@
// @strict: true
// @strictAny: false
// Repro from #19746

View File

@ -1,4 +1,5 @@
// @strict: true
// @strictAny: false
// @declaration: true
interface Covariant<T> {

View File

@ -1,4 +1,5 @@
// @strict: true
// @strictAny: false
// @declaration: true
type Unpacked<T> =

View File

@ -1,4 +1,5 @@
// @strict: true
// @strictAny: false
// @declaration: true
type Item = { value: string };

View File

@ -1,4 +1,5 @@
// @strict: true
// @strictAny: false
function f<T>(p: Partial<T>, r: Readonly<T>, pr: Partial<Readonly<T>>, rp: Readonly<Partial<T>>) {
let a1: Partial<T> = p;