c456bbd466
* New aliases for type alias instantiations * New aliases for conditional, mapped, and anonymous object type instantiations * Accept new baselines * Fix issues with re-aliasing * Accept new baselines
41 lines
766 B
Plaintext
41 lines
766 B
Plaintext
=== tests/cases/compiler/Uppercased_Dir/src/index.ts ===
|
|
import { TypeB } from './type-b';
|
|
>TypeB : any
|
|
|
|
export class Broken {
|
|
>Broken : Broken
|
|
|
|
method () {
|
|
>method : () => TypeB
|
|
|
|
return { } as TypeB;
|
|
>{ } as TypeB : TypeB
|
|
>{ } : {}
|
|
}
|
|
}
|
|
=== tests/cases/compiler/Uppercased_Dir/src/type-b.ts ===
|
|
import { Merge } from './types';
|
|
>Merge : any
|
|
|
|
import { TypeA } from './type-a';
|
|
>TypeA : any
|
|
|
|
export type TypeB = Merge<TypeA, {
|
|
>TypeB : TypeB
|
|
|
|
b: string;
|
|
>b : string
|
|
|
|
}>;
|
|
=== tests/cases/compiler/Uppercased_Dir/src/type-a.ts ===
|
|
export type TypeA = {
|
|
>TypeA : TypeA
|
|
|
|
a: string;
|
|
>a : string
|
|
}
|
|
=== tests/cases/compiler/Uppercased_Dir/src/types.ts ===
|
|
export type Merge<T, U> = T & U;
|
|
>Merge : Merge<T, U>
|
|
|