/third_party/typescript/tests/baselines/reference/ |
D | intrinsicTypes.js | 16 type TC1 = Capitalize<'hello'>; // "Hello" 17 type TC2 = Capitalize<'foo' | 'bar'>; // "Foo" | "Bar" 18 type TC3 = Capitalize<string>; // string 19 type TC4 = Capitalize<any>; // any 20 type TC5 = Capitalize<never>; // never 21 type TC6 = Capitalize<42>; // Error 89 declare type TC1 = Capitalize<'hello'>; 90 declare type TC2 = Capitalize<'foo' | 'bar'>; 91 declare type TC3 = Capitalize<string>; 92 declare type TC4 = Capitalize<any>; [all …]
|
D | intrinsicTypes.symbols | 50 type TC1 = Capitalize<'hello'>; // "Hello" 52 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --)) 54 type TC2 = Capitalize<'foo' | 'bar'>; // "Foo" | "Bar" 56 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --)) 58 type TC3 = Capitalize<string>; // string 60 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --)) 62 type TC4 = Capitalize<any>; // any 64 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --)) 66 type TC5 = Capitalize<never>; // never 68 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --)) [all …]
|
D | intrinsicTypes.types | 38 type TC1 = Capitalize<'hello'>; // "Hello" 41 type TC2 = Capitalize<'foo' | 'bar'>; // "Foo" | "Bar" 44 type TC3 = Capitalize<string>; // string 47 type TC4 = Capitalize<any>; // any 50 type TC5 = Capitalize<never>; // never 53 type TC6 = Capitalize<42>; // Error
|
D | intrinsicTypes.errors.txt | 34 type TC1 = Capitalize<'hello'>; // "Hello" 35 type TC2 = Capitalize<'foo' | 'bar'>; // "Foo" | "Bar" 36 type TC3 = Capitalize<string>; // string 37 type TC4 = Capitalize<any>; // any 38 type TC5 = Capitalize<never>; // never 39 type TC6 = Capitalize<42>; // Error
|
D | mappedTypeAsClauses.js | 4 type Getters<T> = { [P in keyof T & string as `get${Capitalize<P>}`]: () => T[P] }; 35 [K in keyof T as `get${Capitalize<K & string>}`]: () => T[K] 133 [P in keyof T & string as `get${Capitalize<P>}`]: () => T[P]; 179 [K in keyof T as `get${Capitalize<K & string>}`]: () => T[K];
|
D | templateLiteralTypes1.js | 27 type Cases<T extends string> = `${Uppercase<T>} ${Lowercase<T>} ${Capitalize<T>} ${Uncapitalize<T>}… 34 function test<T extends 'foo' | 'bar'>(name: `get${Capitalize<T>}`) { 78 S extends `${infer T}_${infer U}` ? `${Capitalize<Lowercase<T>>}${SnakeToPascalCase<U>}` : 79 S extends `${infer T}` ? `${Capitalize<Lowercase<T>>}` : 291 declare type Cases<T extends string> = `${Uppercase<T>} ${Lowercase<T>} ${Capitalize<T>} ${Uncapita… 294 declare function test<T extends 'foo' | 'bar'>(name: `get${Capitalize<T>}`): void; 316 …s `${infer T}_${infer U}` ? `${Capitalize<Lowercase<T>>}${SnakeToPascalCase<U>}` : S extends `${in…
|
D | mappedTypeAsClauses.symbols | 4 type Getters<T> = { [P in keyof T & string as `get${Capitalize<P>}`]: () => T[P] }; 9 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --)) 118 [K in keyof T as `get${Capitalize<K & string>}`]: () => T[K] 121 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --))
|
D | templateLiteralTypes1.types | 62 type Cases<T extends string> = `${Uppercase<T>} ${Lowercase<T>} ${Capitalize<T>} ${Uncapitalize<T>}… 63 >Cases : `${Uppercase<T>} ${Lowercase<T>} ${Capitalize<T>} ${Uncapitalize<T>}` 73 function test<T extends 'foo' | 'bar'>(name: `get${Capitalize<T>}`) { 74 >test : <T extends "bar" | "foo">(name: `get${Capitalize<T>}`) => void 75 >name : `get${Capitalize<T>}` 79 >name : `get${Capitalize<T>}` 83 >name : `get${Capitalize<T>}` 169 S extends `${infer T}_${infer U}` ? `${Capitalize<Lowercase<T>>}${SnakeToPascalCase<U>}` : 170 S extends `${infer T}` ? `${Capitalize<Lowercase<T>>}` :
|
D | templateLiteralTypes1.symbols | 70 type Cases<T extends string> = `${Uppercase<T>} ${Lowercase<T>} ${Capitalize<T>} ${Uncapitalize<T>}… 77 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --)) 92 function test<T extends 'foo' | 'bar'>(name: `get${Capitalize<T>}`) { 96 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --)) 260 S extends `${infer T}_${infer U}` ? `${Capitalize<Lowercase<T>>}${SnakeToPascalCase<U>}` : 264 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --)) 270 S extends `${infer T}` ? `${Capitalize<Lowercase<T>>}` : 273 >Capitalize : Symbol(Capitalize, Decl(lib.es5.d.ts, --, --))
|
D | templateLiteralTypes1.errors.txt | 39 …type Cases<T extends string> = `${Uppercase<T>} ${Lowercase<T>} ${Capitalize<T>} ${Uncapitalize<T>… 46 function test<T extends 'foo' | 'bar'>(name: `get${Capitalize<T>}`) { 98 S extends `${infer T}_${infer U}` ? `${Capitalize<Lowercase<T>>}${SnakeToPascalCase<U>}` : 99 S extends `${infer T}` ? `${Capitalize<Lowercase<T>>}` :
|
D | mappedTypeAsClauses.types | 4 type Getters<T> = { [P in keyof T & string as `get${Capitalize<P>}`]: () => T[P] }; 74 [K in keyof T as `get${Capitalize<K & string>}`]: () => T[K]
|
/third_party/typescript/tests/cases/conformance/types/typeAliases/ |
D | intrinsicTypes.ts | 18 type TC1 = Capitalize<'hello'>; // "Hello" 19 type TC2 = Capitalize<'foo' | 'bar'>; // "Foo" | "Bar" 20 type TC3 = Capitalize<string>; // string 21 type TC4 = Capitalize<any>; // any 22 type TC5 = Capitalize<never>; // never 23 type TC6 = Capitalize<42>; // Error
|
/third_party/typescript/tests/cases/conformance/types/literal/ |
D | templateLiteralTypes1.ts | 29 type Cases<T extends string> = `${Uppercase<T>} ${Lowercase<T>} ${Capitalize<T>} ${Uncapitalize<T>}… 36 function test<T extends 'foo' | 'bar'>(name: `get${Capitalize<T>}`) { 80 S extends `${infer T}_${infer U}` ? `${Capitalize<Lowercase<T>>}${SnakeToPascalCase<U>}` : 81 S extends `${infer T}` ? `${Capitalize<Lowercase<T>>}` :
|
/third_party/typescript/tests/cases/conformance/types/mapped/ |
D | mappedTypeAsClauses.ts | 6 type Getters<T> = { [P in keyof T & string as `get${Capitalize<P>}`]: () => T[P] }; 37 [K in keyof T as `get${Capitalize<K & string>}`]: () => T[K]
|
/third_party/typescript_eslint/packages/scope-manager/tests/fixtures/type-declaration/ |
D | literal-type2.ts | 1 type EnthusiasticGreeting<T extends string> = `${Uppercase<T>} - ${Lowercase<T>} - ${Capitalize<T>}…
|
D | literal-type2.ts.shot | 129 identifier: Identifier<"Capitalize">,
|
/third_party/typescript_eslint/packages/shared-fixtures/fixtures/typescript/types/ |
D | template-literal-type-4.src.ts | 1 type EnthusiasticGreeting<T extends string> = `${Uppercase<T>} - ${Lowercase<T>} - ${Capitalize<T>}…
|
/third_party/node/deps/npm/node_modules/yargs-parser/node_modules/camelcase/ |
D | readme.md | 93 - [titleize](https://github.com/sindresorhus/titleize) - Capitalize every word in string
|
/third_party/typescript_eslint/packages/scope-manager/src/lib/ |
D | es5.ts | 434 Capitalize: {
|
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/typescript/types/ |
D | template-literal-type-4.src.ts.shot | 376 "name": "Capitalize", 1105 "value": "Capitalize",
|
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/ |
D | EGL_KHR_gl_colorspace.txt | 191 - Capitalize SRGB in token name, change reference from VG to GL/ES
|
/third_party/EGL/extensions/KHR/ |
D | EGL_KHR_gl_colorspace.txt | 191 - Capitalize SRGB in token name, change reference from VG to GL/ES
|
/third_party/icu/docs/userguide/ |
D | services.md | 290 * Capitalize the first letter of each word
|
/third_party/typescript/src/lib/ |
D | es5.d.ts | 1536 type Capitalize<S extends string> = intrinsic; alias
|
/third_party/typescript/lib/ |
D | lib.es5.d.ts | 1556 type Capitalize<S extends string> = intrinsic; alias
|