/third_party/typescript/tests/baselines/reference/ |
D | destructuringUnspreadableIntoRest.types | 32 >rest1 : Omit<this, "getter" | "setter" | "method"> 43 >rest3 : Omit<this, "publicProp" | "getter" | "setter" | "method"> 55 >rest1 : Omit<this, "getter" | "setter" | "method"> 65 >rest3 : Omit<this, "publicProp" | "getter" | "setter" | "method"> 75 >rest1 : Omit<this, "getter" | "setter" | "method"> 85 >rest3 : Omit<this, "publicProp" | "getter" | "setter" | "method"> 95 >rest1 : Omit<this, "getter" | "setter" | "method"> 105 >rest3 : Omit<this, "publicProp" | "getter" | "setter" | "method"> 115 >rest1 : Omit<this, "getter" | "setter" | "method"> 125 >rest3 : Omit<this, "publicProp" | "getter" | "setter" | "method"> [all …]
|
D | destructuringUnspreadableIntoRest.errors.txt | 1 …st.ts(22,15): error TS2339: Property 'publicProp' does not exist on type 'Omit<this, "publicProp" … 3 …t.ts(25,15): error TS2339: Property 'privateProp' does not exist on type 'Omit<this, "getter" | "s… 5 …t.ts(27,15): error TS2339: Property 'privateProp' does not exist on type 'Omit<this, "publicProp" … 7 …ts(30,15): error TS2339: Property 'protectedProp' does not exist on type 'Omit<this, "getter" | "s… 9 …ts(32,15): error TS2339: Property 'protectedProp' does not exist on type 'Omit<this, "publicProp" … 11 …toRest.ts(35,15): error TS2339: Property 'getter' does not exist on type 'Omit<this, "getter" | "s… 13 …toRest.ts(37,15): error TS2339: Property 'getter' does not exist on type 'Omit<this, "publicProp" … 15 …toRest.ts(40,15): error TS2339: Property 'setter' does not exist on type 'Omit<this, "getter" | "s… 17 …toRest.ts(42,15): error TS2339: Property 'setter' does not exist on type 'Omit<this, "publicProp" … 19 …toRest.ts(45,15): error TS2339: Property 'method' does not exist on type 'Omit<this, "getter" | "s… [all …]
|
D | genericObjectSpreadResultInSwitch.types | 15 >getType : <P extends Params>(params: P) => Omit<P, "foo"> 16 …> { const { // Omit foo, ...rest } = params; return rest;} : <P exte… 20 // Omit 25 >rest : Omit<P, "foo"> 31 >rest : Omit<P, "foo"> 51 >getType(params) : Omit<{ foo: string; } & { tag: "a"; type: number; }, "foo"> 52 >getType : <P extends Params>(params: P) => Omit<P, "foo"> 66 >getType(params) : Omit<{ foo: string; } & { tag: "b"; type: string; }, "foo"> 67 >getType : <P extends Params>(params: P) => Omit<P, "foo">
|
D | genericIsNeverEmptyObject.types | 5 >test : <T extends { a: string; }>(obj: T) => Omit<T, "a"> & { b: string; } 11 >rest : Omit<T, "a"> 15 >{ ...rest, b: a } : Omit<T, "a"> & { b: string; } 16 >rest : Omit<T, "a"> 33 >test(o1) : Omit<{ a: string; x: number; }, "a"> & { b: string; } 34 >test : <T extends { a: string; }>(obj: T) => Omit<T, "a"> & { b: string; }
|
D | omitTypeTestErrors01.symbols | 15 export type Bar = Omit<Foo, "c">; 17 >Omit : Symbol(Omit, Decl(lib.es5.d.ts, --, --)) 20 export type Baz = Omit<Foo, "b" | "c">; 22 >Omit : Symbol(Omit, Decl(lib.es5.d.ts, --, --))
|
D | circularlySimplifyingConditionalTypesNoCrash.types | 2 type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; 3 >Omit : Omit<T, K> 24 …): ComponentClass<Omit<P, keyof Shared<TInjectedProps, P>> & TNeedsProps> & { WrappedComponent: Co… 27 } // Then intersected with and indexed via Omit and & 59 …y, options?: unknown) => InferableComponentEnhancerWithProps<TStateProps, Omit<P, Extract<keyof TS… 76 …, options, ) : InferableComponentEnhancerWithProps<TStateProps, Omit<P, Extract<keyof TS…
|
D | omitTypeTests01.symbols | 15 export type Bar = Omit<Foo, "c">; 17 >Omit : Symbol(Omit, Decl(lib.es5.d.ts, --, --)) 20 export type Baz = Omit<Foo, "b" | "c">; 22 >Omit : Symbol(Omit, Decl(lib.es5.d.ts, --, --))
|
D | genericObjectRest.types | 19 >r1 : Omit<T, "a"> 27 >r2 : Omit<T, "a" | "b"> 32 >r3 : Omit<T, "a"> 38 >r4 : Omit<T, "a"> 44 >r5 : Omit<T, "a"> 71 >r1 : Omit<T, unique symbol | unique symbol> 86 >r1 : Omit<T, K1 | K2> 107 >r1 : Omit<Item, K1 | K2>
|
D | staticIndexSignature5.symbols | 52 type TG = Omit<typeof B, number> 54 >Omit : Symbol(Omit, Decl(lib.es5.d.ts, --, --)) 57 type TGI = Omit<I, number> 59 >Omit : Symbol(Omit, Decl(lib.es5.d.ts, --, --))
|
D | omitTypeTestErrors01.js | 8 export type Bar = Omit<Foo, "c">; 9 export type Baz = Omit<Foo, "b" | "c">; 41 export type Bar = Omit<Foo, "c">; 42 export type Baz = Omit<Foo, "b" | "c">;
|
D | omitTypeTests01.js | 8 export type Bar = Omit<Foo, "c">; 9 export type Baz = Omit<Foo, "b" | "c">; 41 export type Bar = Omit<Foo, "c">; 42 export type Baz = Omit<Foo, "b" | "c">;
|
D | indexedAccessRetainsIndexSignature.types | 8 type Omit<U, K extends keyof U> = Pick<U, Diff<keyof U, K>> 9 >Omit : Omit<U, K> 19 type O = Omit<{ a: number, b: string }, 'a'>
|
D | indexedAccessRetainsIndexSignature.symbols | 16 type Omit<U, K extends keyof U> = Pick<U, Diff<keyof U, K>> 17 >Omit : Symbol(Omit, Decl(indexedAccessRetainsIndexSignature.ts, 1, 71)) 52 type O = Omit<{ a: number, b: string }, 'a'> 54 >Omit : Symbol(Omit, Decl(indexedAccessRetainsIndexSignature.ts, 1, 71))
|
D | mappedTypeUnionConstraintInferences.js | 2 export declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; 3 export declare type PartialProperties<T, K extends keyof T> = Partial<Pick<T, K>> & Omit<T, K>; 37 export declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; 38 export declare type PartialProperties<T, K extends keyof T> = Partial<Pick<T, K>> & Omit<T, K>;
|
D | mappedTypeUnionConstraintInferences.symbols | 2 export declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; 3 >Omit : Symbol(Omit, Decl(mappedTypeUnionConstraintInferences.ts, 0, 0)) 13 export declare type PartialProperties<T, K extends keyof T> = Partial<Pick<T, K>> & Omit<T, K>; 22 >Omit : Symbol(Omit, Decl(mappedTypeUnionConstraintInferences.ts, 0, 0))
|
D | circularlySimplifyingConditionalTypesNoCrash.symbols | 2 type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; 3 >Omit : Symbol(Omit, Decl(circularlySimplifyingConditionalTypesNoCrash.ts, 0, 0)) 66 …): ComponentClass<Omit<P, keyof Shared<TInjectedProps, P>> & TNeedsProps> & { WrappedComponent: Co… 68 >Omit : Symbol(Omit, Decl(circularlySimplifyingConditionalTypesNoCrash.ts, 0, 0)) 78 } // Then intersected with and indexed via Omit and &
|
D | jsxComplexSignatureHasApplicabilityError.types | 25 Omit<WrappedProps, "multi">, 42 … }} /> ); } : (props: Omit<Omit<WrappedProps, "multi">, keyof Omit… 43 >props : Omit<Omit<WrappedProps, "multi">, keyof Omit<WrappedProps, "multi"> & keyof Props<ExtractV… 53 >props : Omit<Omit<WrappedProps, "multi">, keyof Omit<WrappedProps, "multi"> & keyof Props<ExtractV… 66 >props : Omit<Omit<WrappedProps, "multi">, keyof Omit<WrappedProps, "multi"> & keyof Props<ExtractV… 76 >props : Omit<Omit<WrappedProps, "multi">, keyof Omit<WrappedProps, "multi"> & keyof Props<ExtractV… 82 >props : Omit<Omit<WrappedProps, "multi">, keyof Omit<WrappedProps, "multi"> & keyof Props<ExtractV… 99 export type Omit<T, K extends keyof any> = T extends any ? Pick<T, Exclude<keyof T, K>> : never; 100 >Omit : Omit<T, K> 102 export type Overwrite<T, U> = Omit<T, keyof T & keyof U> & U;
|
D | mappedTypeUnionConstraintInferences.types | 2 export declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; 3 >Omit : Omit<T, K> 5 export declare type PartialProperties<T, K extends keyof T> = Partial<Pick<T, K>> & Omit<T, K>;
|
D | complicatedIndexedAccessKeyofReliesOnKeyofNeverUpperBound.types | 31 type Omit<T, K extends keyof T> = Pick< 32 >Omit : Omit<T, K> 51 Partial<Omit<T, 'type' | 'id'>> & { localChannelId: string };
|
D | identicalTypesNoDifferByCheckOrder.types | 13 type SomePropsX = Required<Pick<SomeProps, "x">> & Omit<SomeProps, "x">; 14 >SomePropsX : Required<Pick<SomeProps, "x">> & Omit<SomeProps, "x"> 27 type SomePropsCloneX = Required<Pick<SomePropsClone, "x">> & Omit<SomePropsClone, "x">; 28 >SomePropsCloneX : Required<Pick<SomePropsClone, "x">> & Omit<SomePropsClone, "x">
|
D | complicatedIndexedAccessKeyofReliesOnKeyofNeverUpperBound.symbols | 40 type Omit<T, K extends keyof T> = Pick< 41 >Omit : Symbol(Omit, Decl(complicatedIndexedAccessKeyofReliesOnKeyofNeverUpperBound.ts, 14, 72)) 84 Partial<Omit<T, 'type' | 'id'>> & { localChannelId: string }; 86 >Omit : Symbol(Omit, Decl(complicatedIndexedAccessKeyofReliesOnKeyofNeverUpperBound.ts, 14, 72))
|
D | identicalTypesNoDifferByCheckOrder.symbols | 17 type SomePropsX = Required<Pick<SomeProps, "x">> & Omit<SomeProps, "x">; 22 >Omit : Symbol(Omit, Decl(lib.es5.d.ts, --, --)) 40 type SomePropsCloneX = Required<Pick<SomePropsClone, "x">> & Omit<SomePropsClone, "x">; 45 >Omit : Symbol(Omit, Decl(lib.es5.d.ts, --, --))
|
D | keyofGenericExtendingClassDoubleLayer.symbols | 11 type ModelAttributes<T> = Omit<T, keyof Model>; 14 >Omit : Symbol(Omit, Decl(lib.es5.d.ts, --, --))
|
D | circularlyConstrainedMappedTypeContainingConditionalNoInfiniteInstantiationDepth.types | 115 export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; 116 >Omit : Omit<T, K> 125 …) => ConnectedComponentClass<C, Omit<GetProps<C>, keyof Shared<TInjectedProps, GetProps<C>>> & TNe…
|
/third_party/node/deps/undici/src/types/ |
D | api.d.ts | 16 …options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path' | 'metho… 22 options: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path'>, 29 options: { dispatcher?: Dispatcher } & Omit<Dispatcher.PipelineOptions, 'origin' | 'path'>, 36 options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.ConnectOptions, 'origin' | 'path'> 42 options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.UpgradeOptions, 'origin' | 'path'>
|