Lines Matching full:number
17 function func1<Type, A, B extends readonly number[]>(arg: Type): Type {
21 function func2<A extends { a: number, b: string }>() { }
23 function func3<A extends keyof { a: { b: number, c: boolean }, b: [number, string] }>(a: A, b: stri…
29 interface R<K extends [number, string], T = string> {
30 a: number,
31 [x: string]: boolean | number,
34 interface U<A extends readonly [number, number, { a: number, b: string }], Z = boolean> extends R<[…
35 <A>(): number,
36 readonly<A extends number>(): [boolean, number[]];
39 func1<number, string, [1, 2, 3]>()
44 b: function <D = number, T = string>() { },
48 class A<T extends B, Z = { a: number, b: string }> {
50 private b<E extends (a: number, b: string) => any[]>() { }
53 class W extends T<<B> () => number, [number | string][]> {
57 class X extends Q<number> implements S<<R>(a:number, b:string) => [number]>, A {
62 var b: <A extends T, U = 5>(a: number | string) => { a: number };
64 var c: B.T<A<C<number>>>[0];
65 var d: A<number, { a: number, b: string }, [number, string]>;
68 type E<R extends B, C, T = number> = number | T | string;
69 type P<K, Q = [number, number, string] | any[]> = {a:K, b:Q};
72 async<number>();
73 <A extends B>():number => true;
74 async<A extends readonly [number, string]>() => {return "foo";};