Home
last modified time | relevance | path

Searched defs:extends (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/typescript/tests/cases/compiler/
DinferTInParentheses.ts4 type T1 = F1 extends (...args: (infer T)) => void ? T : never; alias
5 type T2 = F1 extends (args: [...(infer T)]) => void ? T : never; alias
8 type T4 = F1 extends (...args: ((infer T))) => void ? T : never; alias
9 type T5 = F1 extends (args: [...((infer T))]) => void ? T : never; alias
12 type T7 = F1 extends (...args: ((((infer T))))) => void ? T : never; alias
13 type T8 = F1 extends (args: [...((((infer T))))]) => void ? T : never; alias
DaliasOfGenericFunctionWithRestBehavedSameAsUnaliased.ts7 type test = a extends b ? "y" : "n" alias
17 type test1 = a1 extends b1 ? "y" : "n" alias
26 type test2 = a2 extends b2 ? "y" : "n" alias
32 type test3 = a3 extends b3 ? "y" : "n" alias
DconditionalTypeAssignabilityWhenDeferred.ts54 const x: [T] extends [string] constant
58 const o1: [T] extends [number] ? { a: number } : { b: number } = o; constant
60 const x1: [T] extends [number] constant
64 const o2: [T] extends [[infer U]] ? U : { b: number } = o; constant
DdoubleMixinConditionalTypeBaseClassWorks.ts3 const Mixin1 = <C extends Constructor>(Base: C) => class extends Base { private _fooPrivate: {}; } class
6 const Mixin2 = <C extends FooConstructor>(Base: C) => class extends Base {}; class
DsingletonLabeledTuple.ts5 type Alias = AliasOptional extends [unknown] ? true : false // Expect `Alias` to be `false` alias
15 type AliasedRest = AliasRest extends [unknown] ? true : false; // Expect `AliasedRest` to be `false` alias
DmixinIntersectionIsValidbaseType.ts22 let SomeHowOkay = class A extends SuperClass { variable
25 let SomeHowNotOkay = class A extends Serializable(SuperClass) { variable
DdeclarationEmitExpressionInExtends7.ts2 export default class extends SomeUndefinedFunction {} class
DconditionalTypesASI.ts7 extends?: string | string[] property
DdeclarationEmitMixinPrivateProtected.ts31 export default class extends mix(DisposableMixin) { class
/third_party/typescript/tests/cases/conformance/es6/classExpressions/
DclassExpressionES63.ts2 let C = class extends class extends class { a = 1 } { b = 2 } { c = 3 }; variable
/third_party/typescript/tests/cases/conformance/classes/classExpressions/
DclassExpression3.ts1 let C = class extends class extends class { a = 1 } { b = 2 } { c = 3 }; variable
DclassWithStaticFieldInParameterInitializer.2.ts8 ((b = class extends C { static x = 1 }) => { var C; })(); class
11 ((b = class extends C { static x = 1 }, d = x) => { var x; })(); class
DclassWithStaticFieldInParameterBindingPattern.2.ts8 (({ [class extends C { static x = 1 }.x]: b = "" }) => { var C; })(); class
11 (({ [class extends C { static x = 1 }.x]: b = "" }, d = x) => { var x; })(); class
DclassWithStaticFieldInParameterBindingPattern.3.ts8 (({ [class extends C { static x = 1 }.x]: b = "" }) => { var C; })(); class
11 (({ [class extends C { static x = 1 }.x]: b = "" }, d = x) => { var x; })(); class
DclassWithStaticFieldInParameterInitializer.3.ts8 ((b = class extends C { static x = 1 }) => { var C; })(); class
11 ((b = class extends C { static x = 1 }, d = x) => { var x; })(); class
/third_party/typescript/tests/cases/conformance/salsa/
DtypeFromPropertyAssignmentOutOfOrder.ts7 Common.Object = class extends First.Item {} class
9 Workspace.Object = class extends Common.Object {} class
/third_party/typescript/tests/cases/conformance/types/conditional/
DinferTypes2.ts20 type Weird = any extends infer U ? U : never; alias
21 type AlsoWeird = unknown extends infer U ? U : never; alias
DconditionalTypes2.ts5 foo: T extends string ? T : number; property
9 foo: T extends string ? keyof T : number; property
13 foo: T extends string ? keyof T : T; property
110 boom: T extends any ? true : true property
/third_party/typescript/tests/cases/conformance/classes/
DmixinClassesAnonymous.ts13 const Printable = <T extends Constructor<Base>>(superClass: T) => class extends superClass { class
61 return class extends Base { class
/third_party/typescript/tests/projects/projectReferenceWithRootDirInParent/src/other/
Dtsconfig.json2 "extends": "../../tsconfig.base.json" string
/third_party/typescript/tests/projects/missingExtendedConfig/
Dtsconfig.second.json2 "extends": "./foobar.json", string
Dtsconfig.first.json2 "extends": "./foobar.json", string
/third_party/node/deps/v8/tools/turbolizer/
Dtsconfig.test.json2 "extends": "./tsconfig.json", string
/third_party/typescript/tests/projects/importJsonFromProjectReference/strings/
Dtsconfig.json2 "extends": "../tsconfig.json", string
/third_party/css-what/
Dtsconfig.eslint.json2 "extends": "./tsconfig.json", string

12345