/third_party/typescript/tests/baselines/reference/ |
D | propTypeValidatorInference.types | 14 export type RequiredKeys<V> = { [K in keyof V]-?: Exclude<V[K], undefined> extends Validator<infer … 24 export interface Validator<T> { 38 export interface Requireable<T> extends Validator<T> { 39 isRequired: Validator<NonNullable<T>>; 40 >isRequired : Validator<NonNullable<T>> 43 export type ValidationMap<T> = { [K in keyof T]?: Validator<T[K]> }; 46 export type InferType<V> = V extends Validator<infer T> ? T : any; 74 export function oneOfType<T extends Validator<any>>(types: T[]): Requireable<NonNullable<InferType<… 75 >oneOfType : <T extends Validator<any>>(types: T[]) => Requireable<NonNullable<InferType<T>>> 123 >innerProps : { foo: PropTypes.Validator<string>; bar: PropTypes.Requireable<boolean>; baz: PropTyp… [all …]
|
D | genericClassPropertyInheritanceSpecialization.js | 43 export class Validator<TValue> { 56 export class Validator<TValue> extends Portal.Controls.Validators.Validator<TValue> { 67 validators: KnockoutObservableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>>; 73 ….ViewModels.Controls.Validators.Validator<TValue>> = ko.observableArray<PortalFx.ViewModels.Contro… field in ViewModel 100 var Validator = /** @class */ (function () { class 101 function Validator(message) { class in anonymousFunctionf5b770a60600.anonymousFunctionf5b770a60700.anonymousFunctionf5b770a60800.Validator 103 Validator.prototype.destroy = function () { }; class 104 Validator.prototype._validate = function (value) { return 0; }; 105 return Validator; 107 Validators.Validator = Validator; [all …]
|
D | jsdocConstructorFunctionTypeReference.types | 2 var Validator = function VFunc() { 3 >Validator : typeof VFunc 16 Validator.prototype.num = 12 17 >Validator.prototype.num = 12 : 12 18 >Validator.prototype.num : any 19 >Validator.prototype : any 20 >Validator : typeof VFunc 26 * @param {Validator} state 29 >validateRegExpFlags : (state: Validator) => string 30 >function(state) { return state.flags} : (state: Validator) => string
|
D | genericClassPropertyInheritanceSpecialization.types | 106 export class Validator<TValue> { 107 >Validator : Validator<TValue> 140 export class Validator<TValue> extends Portal.Controls.Validators.Validator<TValue> { 141 >Validator : Validator<TValue> 142 >Portal.Controls.Validators.Validator : Portal.Controls.Validators.Validator<TValue> 148 >Validator : typeof Portal.Controls.Validators.Validator 155 >super : typeof Portal.Controls.Validators.Validator 164 validators: KnockoutObservableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>>; 165 >validators : KnockoutObservableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>> 176 ….ViewModels.Controls.Validators.Validator<TValue>> = ko.observableArray<PortalFx.ViewModels.Contro… [all …]
|
D | jsdocConstructorFunctionTypeReference.symbols | 2 var Validator = function VFunc() { 3 >Validator : Symbol(Validator, Decl(jsdocConstructorFunctionTypeReference.js, 0, 3)) 13 Validator.prototype.num = 12 14 >Validator.prototype : Symbol(Validator.num, Decl(jsdocConstructorFunctionTypeReference.js, 2, 2)) 15 >Validator : Symbol(Validator, Decl(jsdocConstructorFunctionTypeReference.js, 0, 3)) 17 >num : Symbol(Validator.num, Decl(jsdocConstructorFunctionTypeReference.js, 2, 2)) 20 * @param {Validator} state
|
D | genericClassPropertyInheritanceSpecialization.symbols | 152 export class Validator<TValue> { 153 >Validator : Symbol(Validator, Decl(genericClassPropertyInheritanceSpecialization.ts, 39, 35)) 157 >_subscription : Symbol(Validator._subscription, Decl(genericClassPropertyInheritanceSpecialization… 160 >message : Symbol(Validator.message, Decl(genericClassPropertyInheritanceSpecialization.ts, 42, 30)) 164 >validationState : Symbol(Validator.validationState, Decl(genericClassPropertyInheritanceSpecializa… 168 >validate : Symbol(Validator.validate, Decl(genericClassPropertyInheritanceSpecialization.ts, 44, 5… 176 >destroy : Symbol(Validator.destroy, Decl(genericClassPropertyInheritanceSpecialization.ts, 46, 41)) 179 >_validate : Symbol(Validator._validate, Decl(genericClassPropertyInheritanceSpecialization.ts, 47,… 191 export class Validator<TValue> extends Portal.Controls.Validators.Validator<TValue> { 192 >Validator : Symbol(Validator, Decl(genericClassPropertyInheritanceSpecialization.ts, 52, 48)) [all …]
|
D | typeGuardsWithInstanceOf.types | 37 interface Validator { 57 let v: Validator & Partial<OnChanges> = null as any; 58 >v : Validator & Partial<OnChanges> 64 >v : Validator & Partial<OnChanges> 67 v // Validator & Partial<OnChanges> & C 70 v // Validator & Partial<OnChanges> via subtype reduction 71 >v : C | (Validator & Partial<OnChanges>) 79 >v : C | (Validator & Partial<OnChanges>) 85 >v : C | (Validator & Partial<OnChanges>)
|
D | typeGuardsWithInstanceOf.symbols | 36 interface Validator { 37 >Validator : Symbol(Validator, Decl(typeGuardsWithInstanceOf.ts, 13, 1)) 40 >validate : Symbol(Validator.validate, Decl(typeGuardsWithInstanceOf.ts, 14, 21)) 57 let v: Validator & Partial<OnChanges> = null as any; 59 >Validator : Symbol(Validator, Decl(typeGuardsWithInstanceOf.ts, 13, 1)) 67 v // Validator & Partial<OnChanges> & C 70 v // Validator & Partial<OnChanges> via subtype reduction
|
D | typeGuardsWithInstanceOf.errors.txt | 3 …36,11): error TS2339: Property 'onChanges' does not exist on type 'C | (Validator & Partial<OnChan… 5 …37,11): error TS2339: Property 'onChanges' does not exist on type 'C | (Validator & Partial<OnChan… 27 interface Validator { 38 let v: Validator & Partial<OnChanges> = null as any; 40 v // Validator & Partial<OnChanges> & C 42 v // Validator & Partial<OnChanges> via subtype reduction 50 !!! error TS2339: Property 'onChanges' does not exist on type 'C | (Validator & Partial<OnChanges>)… 54 !!! error TS2339: Property 'onChanges' does not exist on type 'C | (Validator & Partial<OnChanges>)…
|
D | propTypeValidatorInference.js | 8 export type RequiredKeys<V> = { [K in keyof V]-?: Exclude<V[K], undefined> extends Validator<infer … 12 export interface Validator<T> { 17 export interface Requireable<T> extends Validator<T> { 18 isRequired: Validator<NonNullable<T>>; 21 export type ValidationMap<T> = { [K in keyof T]?: Validator<T[K]> }; 23 export type InferType<V> = V extends Validator<infer T> ? T : any; 34 export function oneOfType<T extends Validator<any>>(types: T[]): Requireable<NonNullable<InferType<…
|
D | identicalTypesNoDifferByCheckOrder.symbols | 48 type Validator<T> = {(): boolean, opt?: T}; 49 >Validator : Symbol(Validator, Decl(identicalTypesNoDifferByCheckOrder.ts, 14, 87)) 54 …dationMap<T> = {[K in keyof T]?: null extends T[K] ? Validator<T[K] | null | undefined> : Validato… 61 >Validator : Symbol(Validator, Decl(identicalTypesNoDifferByCheckOrder.ts, 14, 87)) 64 >Validator : Symbol(Validator, Decl(identicalTypesNoDifferByCheckOrder.ts, 14, 87))
|
D | reverseMappedTypeDeepDeclarationEmit.symbols | 2 export type Validator<T> = NativeTypeValidator<T> | ObjectValidator<T> 3 >Validator : Symbol(Validator, Decl(reverseMappedTypeDeepDeclarationEmit.ts, 0, 0)) 20 [K in keyof O]: Validator<O[K]> 23 >Validator : Symbol(Validator, Decl(reverseMappedTypeDeepDeclarationEmit.ts, 0, 0))
|
D | propTypeValidatorInference.symbols | 12 export type RequiredKeys<V> = { [K in keyof V]-?: Exclude<V[K], undefined> extends Validator<infer … 20 >Validator : Symbol(Validator, Decl(index.d.ts, 6, 72)) 44 export interface Validator<T> { 45 >Validator : Symbol(Validator, Decl(index.d.ts, 6, 72)) 57 >[nominalTypeHack] : Symbol(Validator[nominalTypeHack], Decl(index.d.ts, 9, 115)) 62 export interface Requireable<T> extends Validator<T> { 65 >Validator : Symbol(Validator, Decl(index.d.ts, 6, 72)) 68 isRequired: Validator<NonNullable<T>>; 70 >Validator : Symbol(Validator, Decl(index.d.ts, 6, 72)) 75 export type ValidationMap<T> = { [K in keyof T]?: Validator<T[K]> }; [all …]
|
D | reverseMappedTypeDeepDeclarationEmit.js | 2 export type Validator<T> = NativeTypeValidator<T> | ObjectValidator<T> 6 [K in keyof O]: Validator<O[K]> 55 export type Validator<T> = NativeTypeValidator<T> | ObjectValidator<T>; 58 [K in keyof O]: Validator<O[K]>;
|
D | identicalTypesNoDifferByCheckOrder.types | 30 type Validator<T> = {(): boolean, opt?: T}; 31 >Validator : Validator<T> 34 …dationMap<T> = {[K in keyof T]?: null extends T[K] ? Validator<T[K] | null | undefined> : Validato…
|
D | circularlyConstrainedMappedTypeContainingConditionalNoInfiniteInstantiationDepth.symbols | 74 export interface Validator<T> { 75 >Validator : Symbol(Validator, Decl(circularlyConstrainedMappedTypeContainingConditionalNoInfiniteI… 87 >[nominalTypeHack] : Symbol(Validator[nominalTypeHack], Decl(circularlyConstrainedMappedTypeContain… 101 ? Validator<T[K] | null | undefined> 102 >Validator : Symbol(Validator, Decl(circularlyConstrainedMappedTypeContainingConditionalNoInfiniteI… 110 ? Validator<T[K] | null | undefined> 111 >Validator : Symbol(Validator, Decl(circularlyConstrainedMappedTypeContainingConditionalNoInfiniteI… 115 : Validator<T[K]> 116 >Validator : Symbol(Validator, Decl(circularlyConstrainedMappedTypeContainingConditionalNoInfiniteI…
|
D | circularlyConstrainedMappedTypeContainingConditionalNoInfiniteInstantiationDepth.js | 21 export interface Validator<T> { 27 ? Validator<T[K] | null | undefined> 29 ? Validator<T[K] | null | undefined> 30 : Validator<T[K]>
|
D | reverseMappedTypeDeepDeclarationEmit.types | 2 export type Validator<T> = NativeTypeValidator<T> | ObjectValidator<T> 3 >Validator : Validator<T> 12 [K in keyof O]: Validator<O[K]>
|
D | identicalTypesNoDifferByCheckOrder.js | 18 type Validator<T> = {(): boolean, opt?: T}; 19 …dationMap<T> = {[K in keyof T]?: null extends T[K] ? Validator<T[K] | null | undefined> : Validato…
|
/third_party/typescript/tests/cases/compiler/ |
D | propTypeValidatorInference.ts | 7 export type RequiredKeys<V> = { [K in keyof V]-?: Exclude<V[K], undefined> extends Validator<infer … 11 export interface Validator<T> { interface 16 export interface Requireable<T> extends Validator<T> { 17 isRequired: Validator<NonNullable<T>>; 20 export type ValidationMap<T> = { [K in keyof T]?: Validator<T[K]> }; 22 export type InferType<V> = V extends Validator<infer T> ? T : any; 33 export function oneOfType<T extends Validator<any>>(types: T[]): Requireable<NonNullable<InferType<…
|
D | genericClassPropertyInheritanceSpecialization.ts | 42 export class Validator<TValue> { class 55 export class Validator<TValue> extends Portal.Controls.Validators.Validator<TValue> { class 66 validators: KnockoutObservableArray<PortalFx.ViewModels.Controls.Validators.Validator<TValue>>; 72 ….ViewModels.Controls.Validators.Validator<TValue>> = ko.observableArray<PortalFx.ViewModels.Contro…
|
D | circularlyConstrainedMappedTypeContainingConditionalNoInfiniteInstantiationDepth.ts | 21 export interface Validator<T> { 27 ? Validator<T[K] | null | undefined> 29 ? Validator<T[K] | null | undefined> 30 : Validator<T[K]>
|
D | identicalTypesNoDifferByCheckOrder.ts | 19 type Validator<T> = {(): boolean, opt?: T}; alias 20 …dationMap<T> = {[K in keyof T]?: null extends T[K] ? Validator<T[K] | null | undefined> : Validato…
|
D | reactReduxLikeDeferredInferenceAllowsAssignment.ts | 21 interface Validator<T> { 33 ? Validator<T[K] | null | undefined> 35 ? Validator<T[K] | null | undefined> 36 : Validator<T[K]>
|
/third_party/skia/src/image/ |
D | SkImage_Lazy.h | 23 struct Validator { struct 24 Validator(sk_sp<SharedGenerator>, const SkColorType*, sk_sp<SkColorSpace>); 34 SkImage_Lazy(Validator* validator); argument
|