mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-03 18:38:40 -06:00
Turn // @strict off in all failing fourslash tests which do not contain baseline calls (#63023)
This commit is contained in:
parent
e6fac66a72
commit
c3dc61d18a
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @Filename: test123.ts
|
||||
/////** @type {number} */
|
||||
////var [|x|];
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
/////**
|
||||
//// * @param {?} x
|
||||
//// * @returns {number}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
/////**
|
||||
//// * @param {?} x
|
||||
//// * @returns {number}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////class C {
|
||||
//// /**
|
||||
//// * @return {...*}
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
// @strict: false
|
||||
////class C {
|
||||
//// /**
|
||||
//// * @param {number} x - the first parameter
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
// @strict: false
|
||||
////class C {
|
||||
//// /** @param {number} value */
|
||||
//// set c(value) { return value }
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
// @strict: false
|
||||
/////**
|
||||
//// * @param {number} x - the first parameter
|
||||
//// * @param {{ a: string, b: Date }} y - the most complex parameter
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////declare class C {
|
||||
//// /** @type {number | null} */
|
||||
//// p;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
/////**
|
||||
//// * @param {number} x
|
||||
//// * @returns {number}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
/////**
|
||||
//// * @param {number} x
|
||||
//// * @returns {number}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
/////**
|
||||
//// * @template T
|
||||
//// * @param {T} x
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
/////**
|
||||
//// * @param {?} x
|
||||
//// * @returns {number}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
////class A {
|
||||
//// constructor(x: number) { }
|
||||
//// foo() { }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
// @Filename: cloduleAsBaseClass2_0.ts
|
||||
////class A {
|
||||
//// constructor(x: number) { }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
////class C<T> {
|
||||
//// static foo(x: number) { }
|
||||
//// x: T;
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
// @strict: false
|
||||
////interface Stuff {
|
||||
//// b: () => Promise<string>;
|
||||
////}
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
// @strict: false
|
||||
// @useDefineForClassFields: true
|
||||
|
||||
////class B {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////const x; // this is x
|
||||
////
|
||||
////// this is E
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////interface Foo {
|
||||
//// a: number;
|
||||
//// b: string;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
// @strict: false
|
||||
////interface Foo {
|
||||
//// a: number;
|
||||
//// b: string;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////interface I {
|
||||
//// x: number;
|
||||
//// y: number;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////interface Foo {
|
||||
//// a: number;
|
||||
//// b: string;
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
// @strict: false
|
||||
// @lib: es2020
|
||||
// @target: es2020
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////interface I {
|
||||
//// x: number;
|
||||
//// y: number;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////const f = promise => {
|
||||
//// await promise;
|
||||
////}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////const f = (promise) => {
|
||||
//// await promise;
|
||||
////}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @moduleResolution: bundler
|
||||
// @Filename: /node_modules/abs/subModule.js
|
||||
////export const x = 0;
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
// @strict: false
|
||||
//// var f = <[|function(number?): number|]>(x => x);
|
||||
|
||||
verify.codeFix({
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noImplicitOverride: true
|
||||
//// abstract class A {
|
||||
//// abstract x: number;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// class A {
|
||||
//// foo() {
|
||||
//// return class { x: number; }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////abstract class A {
|
||||
//// abstract x: number;
|
||||
//// private y: number;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////class A {
|
||||
//// A: typeof A;
|
||||
////}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////// Referenced throughout the inheritance chain.
|
||||
////interface I0 { a: number }
|
||||
////
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @lib: es2017
|
||||
|
||||
////interface I<Species> {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// interface I1 {
|
||||
//// x: number;
|
||||
//// }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// class Base {
|
||||
//// foo: number;
|
||||
//// }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// interface I1 {
|
||||
//// x: number;
|
||||
//// }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// interface I1 {
|
||||
//// x: number;
|
||||
//// }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// interface I1 {
|
||||
//// x: number;
|
||||
//// }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////interface IPerson {
|
||||
//// name: string;
|
||||
//// birthday?: string;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////
|
||||
//// interface I {
|
||||
//// x: number;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// const a: ((() => number) | (() => undefined)) = () => { 1 }
|
||||
|
||||
verify.codeFixAvailable([
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//@Filename: file.tsx
|
||||
//// declare namespace JSX {
|
||||
//// interface Element { }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//@Filename: file.tsx
|
||||
//// declare namespace JSX {
|
||||
//// interface Element { }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//@Filename: file.tsx
|
||||
//// declare namespace JSX {
|
||||
//// interface Element { }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// function Foo (a: (() => number) | (() => undefined) ) { a() }
|
||||
//// Foo(() => { 1 })
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @allowjs: true
|
||||
// @noEmit: true
|
||||
// @checkJs: true
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @allowjs: true
|
||||
// @noEmit: true
|
||||
// @checkJs: true
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @allowjs: true
|
||||
// @noEmit: true
|
||||
// @checkJs: true
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @Filename: /a.ts
|
||||
////export const foo = 0;
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////class C {
|
||||
//// constructor(public foo) {
|
||||
//// }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////class C {
|
||||
//// foo: number;
|
||||
//// constructor() {[|
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
// @strict: false
|
||||
// @strictNullChecks: true
|
||||
|
||||
////class TokenType {
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
// @strict: false
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
// @noImplicitAny: true
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noImplicitAny: true
|
||||
////class C {
|
||||
//// [|get x() |]{
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noImplicitAny: true
|
||||
////function f1(a) { a; }
|
||||
////function h1() {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noImplicitAny: true
|
||||
////function f([|a? |]){
|
||||
//// a;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
// @noImplicitAny: true
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noImplicitAny: true
|
||||
////function f(a: number, [|...rest |]){
|
||||
//// a; rest;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noImplicitAny: true
|
||||
////function f(a: number, [|...rest |]){
|
||||
//// a; rest;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
// @noImplicitAny: true
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
// @noImplicitAny: true
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noImplicitAny: true
|
||||
//// function foo([|p, a, b |]) {
|
||||
//// var x
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @allowjs: true
|
||||
// @checkJs: true
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
// @isolatedDeclarations: true
|
||||
// @declaration: true
|
||||
// fileName: code.ts
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noImplicitOverride: true
|
||||
|
||||
//// class B {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noImplicitOverride: true
|
||||
|
||||
//// class B {
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
// @strict: false
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
// @noEmit: true
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
// @filename: /a.js
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
// @filename: /a.js
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
// @filename: /a.js
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
// Tests that the spelling fix is returned first.
|
||||
|
||||
// @strict: false
|
||||
////class C {
|
||||
//// foof: number;
|
||||
//// method() {
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
// @strict: false
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// class A {
|
||||
//// a: number;
|
||||
//// b: string;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// class A<T> {
|
||||
//// a: number;
|
||||
//// b: string;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// [|class A {
|
||||
//// constructor() {
|
||||
//// this.x = function(x: number, y?: A){
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// [|class A {
|
||||
//// y: number;
|
||||
//// constructor(public a: number) {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
//// [|class A {
|
||||
//// constructor() {
|
||||
//// let e: any = 10;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noLib: true
|
||||
// @noUnusedLocals: true
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noUnusedLocals: true
|
||||
// @noUnusedParameters: true
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
////function f([|p|]) {
|
||||
//// const [|x|] = 0;
|
||||
////}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
// @strict: false
|
||||
// @noImplicitAny: true
|
||||
////declare const a: string
|
||||
////function wat([|b |]) {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
// @Filename: /file2.ts
|
||||
//// type TCallback<T = any> = (options: T) => any;
|
||||
//// type InKeyOf<E> = { [K in keyof E]?: TCallback<E[K]>; };
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
////declare class A {
|
||||
//// static foo;
|
||||
////}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
////declare class A {
|
||||
//// foo;
|
||||
////}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
// @strict: false
|
||||
// @Filename: a.ts
|
||||
// @newline: LF
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
//// class A {
|
||||
//// foo: string;
|
||||
//// }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
// @Filename: a.ts
|
||||
// @newLine: lf
|
||||
////const enum TestEnum {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
////class C {
|
||||
//// name: string;
|
||||
//// age: number;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path="fourslash.ts"/>
|
||||
|
||||
// @strict: false
|
||||
////interface FooOptions {
|
||||
//// text?: string;
|
||||
////}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
// @strict: false
|
||||
|
||||
//// interface PartialObserver<T> {}
|
||||
//// interface Subscription {}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
////class CollectionItem {
|
||||
//// x: number;
|
||||
////}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
// @strict: false
|
||||
// @declaration: true
|
||||
// @newLine: lf
|
||||
// @outFile: out.js
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
////var x/*1*/x = true ? [1] : [undefined];
|
||||
////var y/*2*/y = true ? [1] : [];
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='./fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
// @Filename: exportEqualTypes_file0.ts
|
||||
////interface x {
|
||||
//// (): Date;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path="fourslash.ts"/>
|
||||
|
||||
// @strict: false
|
||||
////var x = [1, 2, 3];
|
||||
////var /*y*/y = x.pop(/*1*/5/*2*/);
|
||||
////
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
////interface A<T> {
|
||||
//// foo(a: T): B<T>;
|
||||
//// foo(): void ;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
////interface I1<T> {
|
||||
//// (a: T): T;
|
||||
////}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
|
||||
// @strict: false
|
||||
////const foo = {
|
||||
//// bar: "1",
|
||||
//// baz() {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @strict: false
|
||||
////declare function f<T>(x: T, y: (p: T) => T, z: (p: T) => T): T;
|
||||
////var /*1*/result = /*2*/f(0, /*3*/x => null, /*4*/x => x.blahblah);
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user