mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 11:54:44 -06:00
Update tests
This commit is contained in:
parent
946e465bdd
commit
c360bb31bd
@ -1,6 +1,7 @@
|
||||
// @target: es5
|
||||
// @lib: es6
|
||||
// @strict: true
|
||||
// @strictAny: false
|
||||
|
||||
// repro for: https://github.com/Microsoft/TypeScript/issues/23661
|
||||
export interface IValidationError {
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
// @strict: true
|
||||
// @strictAny: false
|
||||
|
||||
// Repro from #19746
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
// @strict: true
|
||||
// @strictAny: false
|
||||
// @declaration: true
|
||||
|
||||
interface Covariant<T> {
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
// @strict: true
|
||||
// @strictAny: false
|
||||
// @declaration: true
|
||||
|
||||
type Unpacked<T> =
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
// @strict: true
|
||||
// @strictAny: false
|
||||
// @declaration: true
|
||||
|
||||
type Item = { value: string };
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user