Searched refs:satisfy (Results 1 – 25 of 433) sorted by relevance
12345678910>>...18
1 …dsOtherTypeParam.ts(12,26): error TS2344: Type '{ b: string; }' does not satisfy the constraint '{…3 …dsOtherTypeParam.ts(13,26): error TS2344: Type '{ a: number; }' does not satisfy the constraint '{…6 …dsOtherTypeParam.ts(14,26): error TS2344: Type '{ b: string; }' does not satisfy the constraint '{…8 …dsOtherTypeParam.ts(15,26): error TS2344: Type '{ a: number; }' does not satisfy the constraint '{…11 …dsOtherTypeParam.ts(16,37): error TS2344: Type '{ a: string; }' does not satisfy the constraint '{…13 …dsOtherTypeParam.ts(17,37): error TS2344: Type '{ a: string; }' does not satisfy the constraint '{…15 …peParamExtendsOtherTypeParam.ts(28,15): error TS2344: Type 'I1' does not satisfy the constraint 'I…17 …peParamExtendsOtherTypeParam.ts(29,15): error TS2344: Type 'I1' does not satisfy the constraint 'I…34 !!! error TS2344: Type '{ b: string; }' does not satisfy the constraint '{ a: string; }'.39 !!! error TS2344: Type '{ a: number; }' does not satisfy the constraint '{ a: string; }'.[all …]
1 tests/cases/compiler/genericDefaultsErrors.ts(3,41): error TS2344: Type 'number' does not satisfy t…2 tests/cases/compiler/genericDefaultsErrors.ts(4,59): error TS2344: Type 'T' does not satisfy the co…4 tests/cases/compiler/genericDefaultsErrors.ts(5,44): error TS2344: Type 'T' does not satisfy the co…5 tests/cases/compiler/genericDefaultsErrors.ts(6,39): error TS2344: Type 'number' does not satisfy t…15 tests/cases/compiler/genericDefaultsErrors.ts(26,34): error TS2344: Type 'number' does not satisfy …16 tests/cases/compiler/genericDefaultsErrors.ts(27,52): error TS2344: Type 'T' does not satisfy the c…18 tests/cases/compiler/genericDefaultsErrors.ts(28,37): error TS2344: Type 'T' does not satisfy the c…19 tests/cases/compiler/genericDefaultsErrors.ts(29,32): error TS2344: Type 'number' does not satisfy …34 !!! error TS2344: Type 'number' does not satisfy the constraint 'string'.37 !!! error TS2344: Type 'T' does not satisfy the constraint 'number'.[all …]
5 …ple/restTupleElements1.ts(23,31): error TS2344: Type 'number[]' does not satisfy the constraint '[…7 …pes/tuple/restTupleElements1.ts(24,31): error TS2344: Type '[]' does not satisfy the constraint '[…9 …ple/restTupleElements1.ts(29,18): error TS2344: Type 'number[]' does not satisfy the constraint '[…11 …Elements1.ts(30,18): error TS2344: Type '[number, ...number[]]' does not satisfy the constraint '[…13 …Elements1.ts(32,31): error TS2344: Type '[number, ...string[]]' does not satisfy the constraint '[…15 …Elements1.ts(33,31): error TS2344: Type '[string, ...number[]]' does not satisfy the constraint '[…17 …ments1.ts(34,31): error TS2344: Type '[number, number, string]' does not satisfy the constraint '[…21 …s(35,31): error TS2344: Type '[number, number, number, string]' does not satisfy the constraint '[…62 !!! error TS2344: Type 'number[]' does not satisfy the constraint '[number, ...number[]]'.66 !!! error TS2344: Type '[]' does not satisfy the constraint '[number, ...number[]]'.[all …]
1 tests/cases/compiler/primitiveConstraints1.ts(2,6): error TS2344: Type 'string' does not satisfy th…2 tests/cases/compiler/primitiveConstraints1.ts(5,14): error TS2344: Type 'string' does not satisfy t…9 !!! error TS2344: Type 'string' does not satisfy the constraint 'number'.14 !!! error TS2344: Type 'string' does not satisfy the constraint 'number'.
1 tests/cases/conformance/jsdoc/test.js(5,14): error TS2344: Type 'number' does not satisfy the const…2 tests/cases/conformance/jsdoc/test.js(7,14): error TS2344: Type 'number' does not satisfy the const…15 !!! error TS2344: Type 'number' does not satisfy the constraint 'string'.19 !!! error TS2344: Type 'number' does not satisfy the constraint 'string'.
1 …ypeAliases/intrinsicTypes.ts(6,22): error TS2344: Type 'number' does not satisfy the constraint 's…2 …peAliases/intrinsicTypes.ts(13,22): error TS2344: Type 'number' does not satisfy the constraint 's…3 …peAliases/intrinsicTypes.ts(20,23): error TS2344: Type 'number' does not satisfy the constraint 's…4 …peAliases/intrinsicTypes.ts(27,25): error TS2344: Type 'number' does not satisfy the constraint 's…23 !!! error TS2344: Type 'number' does not satisfy the constraint 'string'.32 !!! error TS2344: Type 'number' does not satisfy the constraint 'string'.41 !!! error TS2344: Type 'number' does not satisfy the constraint 'string'.50 !!! error TS2344: Type 'number' does not satisfy the constraint 'string'.
6 …ive/nonPrimitiveInGeneric.ts(25,8): error TS2344: Type 'number' does not satisfy the constraint 'o…7 …ive/nonPrimitiveInGeneric.ts(26,8): error TS2344: Type 'string' does not satisfy the constraint 'o…8 …ve/nonPrimitiveInGeneric.ts(34,14): error TS2344: Type 'number' does not satisfy the constraint 'o…48 !!! error TS2344: Type 'number' does not satisfy the constraint 'object'.51 !!! error TS2344: Type 'string' does not satisfy the constraint 'object'.61 !!! error TS2344: Type 'number' does not satisfy the constraint 'object'.
1 …/conditional/inferTypes1.ts(36,23): error TS2344: Type 'string' does not satisfy the constraint '(…2 …onditional/inferTypes1.ts(37,23): error TS2344: Type 'Function' does not satisfy the constraint '(…4 …/conditional/inferTypes1.ts(43,25): error TS2344: Type 'string' does not satisfy the constraint 'n…5 …onditional/inferTypes1.ts(44,25): error TS2344: Type 'Function' does not satisfy the constraint 'n…7 …nal/inferTypes1.ts(45,25): error TS2344: Type 'typeof Abstract' does not satisfy the constraint 'n…9 …rror TS2344: Type 'abstract new (x: string, ...args: T) => T[]' does not satisfy the constraint 'n…11 …s(55,25): error TS2344: Type '(x: string, y: string) => number' does not satisfy the constraint '(…12 …onditional/inferTypes1.ts(56,25): error TS2344: Type 'Function' does not satisfy the constraint '(…22 …types/conditional/inferTypes1.ts(91,44): error TS2344: Type 'U' does not satisfy the constraint 's…66 !!! error TS2344: Type 'string' does not satisfy the constraint '(...args: any) => any'.[all …]
10 …solutionClassConstructors.ts(74,9): error TS2344: Type 'number' does not satisfy the constraint 's…11 …solutionClassConstructors.ts(75,9): error TS2344: Type 'number' does not satisfy the constraint 's…14 …olutionClassConstructors.ts(84,9): error TS2344: Type 'boolean' does not satisfy the constraint 's…100 // Generic overloads with constraints called with type arguments that satisfy the constraints111 !!! error TS2344: Type 'number' does not satisfy the constraint 'string'.114 !!! error TS2344: Type 'number' does not satisfy the constraint 'string'.116 …// Generic overloads with constraints called without type arguments but with types that satisfy th…126 …// Generic overloads with constraints called with type arguments that do not satisfy the constrain…129 !!! error TS2344: Type 'boolean' does not satisfy the constraint 'string'.131 …s with constraints called without type arguments but with types that do not satisfy the constraints
1 tests/cases/conformance/jsdoc/a.js(12,23): error TS2344: Type '{ a: number; }' does not satisfy the…4 tests/cases/conformance/jsdoc/test.ts(1,34): error TS2344: Type '{ a: number; }' does not satisfy t…22 !!! error TS2344: Type '{ a: number; }' does not satisfy the constraint '{ a: number; b: string; }'.35 !!! error TS2344: Type '{ a: number; }' does not satisfy the constraint '{ a: number; b: string; }'.
1 …mentInferenceWithConstraints.ts(11,17): error TS2344: Type '{}' does not satisfy the constraint 'n…2 …InferenceWithConstraints.ts(16,23): error TS2344: Type 'number' does not satisfy the constraint 's…3 …mentInferenceWithConstraints.ts(17,23): error TS2344: Type '{}' does not satisfy the constraint 'n…5 …InferenceWithConstraints.ts(35,15): error TS2344: Type 'number' does not satisfy the constraint 'W…12 …InferenceWithConstraints.ts(49,15): error TS2344: Type 'string' does not satisfy the constraint 'n…39 !!! error TS2344: Type '{}' does not satisfy the constraint 'number'.46 !!! error TS2344: Type 'number' does not satisfy the constraint 'string'.49 !!! error TS2344: Type '{}' does not satisfy the constraint 'number'.72 !!! error TS2344: Type 'number' does not satisfy the constraint 'Window'.96 !!! error TS2344: Type 'string' does not satisfy the constraint 'number'.
20 …e/nonPrimitiveStrictNull.ts(51,14): error TS2344: Type 'number' does not satisfy the constraint 'o…21 …ive/nonPrimitiveStrictNull.ts(52,14): error TS2344: Type 'null' does not satisfy the constraint 'o…22 …onPrimitiveStrictNull.ts(53,14): error TS2344: Type 'undefined' does not satisfy the constraint 'o…112 !!! error TS2344: Type 'number' does not satisfy the constraint 'object'.115 !!! error TS2344: Type 'null' does not satisfy the constraint 'object'.118 !!! error TS2344: Type 'undefined' does not satisfy the constraint 'object'.
4 …es/mapped/mappedTypeErrors.ts(22,19): error TS2344: Type 'Date' does not satisfy the constraint 's…6 …s/mapped/mappedTypeErrors.ts(25,24): error TS2344: Type '"foo"' does not satisfy the constraint 'k…7 …mappedTypeErrors.ts(26,24): error TS2344: Type '"name" | "foo"' does not satisfy the constraint 'k…9 …ed/mappedTypeErrors.ts(28,24): error TS2344: Type 'keyof Point' does not satisfy the constraint 'k…11 …pped/mappedTypeErrors.ts(30,24): error TS2344: Type 'undefined' does not satisfy the constraint 'k…12 …types/mapped/mappedTypeErrors.ts(33,24): error TS2344: Type 'T' does not satisfy the constraint 'k…14 …types/mapped/mappedTypeErrors.ts(37,24): error TS2344: Type 'T' does not satisfy the constraint 'k…75 !!! error TS2344: Type 'Date' does not satisfy the constraint 'string | number | symbol'.81 !!! error TS2344: Type '"foo"' does not satisfy the constraint 'keyof Shape'.84 !!! error TS2344: Type '"name" | "foo"' does not satisfy the constraint 'keyof Shape'.[all …]
1 tests/cases/compiler/generics1.ts(10,14): error TS2344: Type 'A' does not satisfy the constraint 'B…19 !!! error TS2344: Type 'A' does not satisfy the constraint 'B'.23 var v5: G<any, any>; // Error, any does not satisfy constraint B
1 tests/cases/compiler/generics2.ts(17,14): error TS2344: Type 'A' does not satisfy the constraint 'B…26 !!! error TS2344: Type 'A' does not satisfy the constraint 'B'.30 var v5: G<any, any>; // Error, any does not satisfy constraint B
1 tests/cases/compiler/genericConstraint1.ts(8,8): error TS2344: Type 'string' does not satisfy the c…14 !!! error TS2344: Type 'string' does not satisfy the constraint 'number'.
57 …ypeGuardFunctionErrors.ts(152,68): error TS2344: Type 'T | "d"' does not satisfy the constraint 'K…59 …ds/typeGuardFunctionErrors.ts(159,31): error TS2344: Type 'Bar' does not satisfy the constraint 'F…62 …ds/typeGuardFunctionErrors.ts(162,31): error TS2344: Type 'Bar' does not satisfy the constraint 'F…63 …typeGuardFunctionErrors.ts(163,35): error TS2344: Type 'number' does not satisfy the constraint 'F…64 …ds/typeGuardFunctionErrors.ts(164,51): error TS2344: Type 'Bar' does not satisfy the constraint 'F…65 …typeGuardFunctionErrors.ts(165,51): error TS2344: Type 'number' does not satisfy the constraint 'F…68 …typeGuardFunctionErrors.ts(166,54): error TS2344: Type 'number' does not satisfy the constraint 'F…334 !!! error TS2344: Type 'T | "d"' does not satisfy the constraint 'Keys'.344 !!! error TS2344: Type 'Bar' does not satisfy the constraint 'Foo'.351 !!! error TS2344: Type 'Bar' does not satisfy the constraint 'Foo'.[all …]
1 …nvalidConstraint1.ts(4,11): error TS2344: Type '{ a: number; }' does not satisfy the constraint '{…12 !!! error TS2344: Type '{ a: number; }' does not satisfy the constraint '{ a: string; }'.
2 …/limitDeepInstantiations.ts(5,13): error TS2344: Type '"false"' does not satisfy the constraint '"…14 !!! error TS2344: Type '"false"' does not satisfy the constraint '"true"'.
1 …nericTypeConstraints.ts(9,31): error TS2344: Type 'FooExtended' does not satisfy the constraint 'F…16 !!! error TS2344: Type 'FooExtended' does not satisfy the constraint 'Foo'.
2 tests/cases/compiler/primitiveConstraints2.ts(9,8): error TS2344: Type 'string' does not satisfy th…18 !!! error TS2344: Type 'string' does not satisfy the constraint 'number'.
10 …data: Foo<Object, Object>; // Error 1 Type 'Object' does not satisfy the constraint 'T' for type p…14 …ring; b: number }>; // Error 2 Type '{ a: string; b: number; }' does not satisfy the constraint 'T…
1 tests/cases/compiler/generics5.ts(10,14): error TS2344: Type 'A' does not satisfy the constraint 'B…17 !!! error TS2344: Type 'A' does not satisfy the constraint 'B'.
8 | doesn't satisfy `Ipv4Addr: Iterator`9 | doesn't satisfy `Ipv4Addr: ToTokens`10 | doesn't satisfy `Ipv4Addr: ext::RepIteratorExt`11 | doesn't satisfy `Ipv4Addr: ext::RepToTokensExt`
36 def satisfy(expr, rules): function41 if not satisfy(meta[1], defines): continue42 if not satisfy(meta[3], categories): continue