Diogo Franco f9e0805337
Regenerate fixtures (#7120)
* Update line endings in test fixtures to match current output

* Fix incorrectly set up static-property-tdz fixtures

It seems the fixture runner does not look into subfolders.

* Remove expected file that should not exist

* Reenable disable optimisation test

* Reenable disabled nbsp tests

* Reenable comments between props test

The comments adjacent to children test is still broken so it stays off.
2017-12-28 19:28:05 +09:00

44 lines
826 B
JavaScript

declare var foo;
declare var foo;
declare function foo(): void;
declare function foo(): void;
declare function foo<T>(): void;
declare function foo(x: number, y: string): void;
declare class A {}
declare class A<T> extends B<T> {
x: number
}
declare class A {
static foo(): number,
static x: string,
}
declare class A {
static [indexer: number]: string
}
declare class A {
static (): number
}
declare class B {
(): number
}
declare class A mixins B<T>, C {}
declare type A = string;
declare type T<U> = {
[k: string]: U
};
declare type B = {
fn?: (foo: string) => void
};
declare interface I {
foo: string
}
declare interface I<T> {
foo: T
}
declare module.exports: {
foo: string
}
declare opaque type Foo<T>: Bar<T>;
declare opaque type ID;
declare opaque type num: number;
declare opaque type NumArray;