114 lines
1.7 KiB
Plaintext
114 lines
1.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`new-signature.ts 1`] = `
|
|
interface FooConstructor {
|
|
new (
|
|
a: number,
|
|
b: number,
|
|
c: number,
|
|
d: number,
|
|
e: number,
|
|
f: number,
|
|
g: number,
|
|
h: number
|
|
): Foo;
|
|
}
|
|
|
|
interface BarConstructor {
|
|
new <A, B, C>(
|
|
a: number,
|
|
b: number,
|
|
c: number,
|
|
d: number,
|
|
e: number,
|
|
f: number,
|
|
g: number,
|
|
h: number
|
|
): Foo;
|
|
}
|
|
|
|
type BazConstructor = {
|
|
new (
|
|
a: number,
|
|
b: number,
|
|
c: number,
|
|
d: number,
|
|
e: number,
|
|
f: number,
|
|
g: number,
|
|
h: number
|
|
): Foo;
|
|
}
|
|
|
|
|
|
interface ConstructorBigGenerics {
|
|
new <AAAAAAAAAAAAAAAAAAAAAAAA, AAAAAAAAAAAAAAAAAAAAAAAA, AAAAAAAAAAAAAAAAAAAAAAAA>(
|
|
a: number,
|
|
b: number,
|
|
c: number,
|
|
d: number,
|
|
e: number,
|
|
f: number,
|
|
g: number,
|
|
h: number
|
|
): Foo;
|
|
}
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
interface FooConstructor {
|
|
new (
|
|
a: number,
|
|
b: number,
|
|
c: number,
|
|
d: number,
|
|
e: number,
|
|
f: number,
|
|
g: number,
|
|
h: number
|
|
): Foo;
|
|
}
|
|
|
|
interface BarConstructor {
|
|
new <A, B, C>(
|
|
a: number,
|
|
b: number,
|
|
c: number,
|
|
d: number,
|
|
e: number,
|
|
f: number,
|
|
g: number,
|
|
h: number
|
|
): Foo;
|
|
}
|
|
|
|
type BazConstructor = {
|
|
new (
|
|
a: number,
|
|
b: number,
|
|
c: number,
|
|
d: number,
|
|
e: number,
|
|
f: number,
|
|
g: number,
|
|
h: number
|
|
): Foo;
|
|
};
|
|
|
|
interface ConstructorBigGenerics {
|
|
new <
|
|
AAAAAAAAAAAAAAAAAAAAAAAA,
|
|
AAAAAAAAAAAAAAAAAAAAAAAA,
|
|
AAAAAAAAAAAAAAAAAAAAAAAA
|
|
>(
|
|
a: number,
|
|
b: number,
|
|
c: number,
|
|
d: number,
|
|
e: number,
|
|
f: number,
|
|
g: number,
|
|
h: number
|
|
): Foo;
|
|
}
|
|
|
|
`;
|