* Add upper limit for the program size, fix readDirectory for the symlink files * Add comments * CR feedback / Change upper limit / Add disableSizeLimit compiler option * online and offline CR feedback * Don't count current opened client file if it's TS file * Speed up file searching * Make language service optional for a project * Fix failed tests * Fix project updateing issue after editing config file * Fix merging issues and multiple project scenario * Refactoring * add test and spit commandLineParser changes to another PR * Fix #8523 * check the declaration and use order if both are not in module file * Fix #9098: report missing function impelementation errors for merged classes and namespaces * Added tests. * Accepted baselines. * Check tuple types when getting the type node's type. * Accepted baselines. * Fix #9173: clear out lib and types before creating a program in transpileModule * Added tests. * Accepted baselines. * Always check type assertion types. * Accepted baselines. * Use helper functions to simplify range tests * Remove String, Number, and Boolean from TypeFlags.Falsy * Add regression test * Accept new baselines * Allow property declarations in .js files * Remove old test * Refactor code to make if statements cheaper * Fix test failure from mergining with master
80 lines
1.3 KiB
TypeScript
80 lines
1.3 KiB
TypeScript
|
|
export class C1 {
|
|
m(): void;
|
|
}
|
|
|
|
// merged with a namespace
|
|
export class C2 {
|
|
m(): void;
|
|
}
|
|
export namespace C2 { }
|
|
|
|
|
|
// merged with a namespace, multiple overloads
|
|
class C3 {
|
|
m(a, b);
|
|
m(a);
|
|
}
|
|
namespace C3 { }
|
|
|
|
// static methods, multiple overloads
|
|
class C4 {
|
|
static m(a): void;
|
|
}
|
|
|
|
// static methods, multiple overloads
|
|
class C5 {
|
|
static m(a): void;
|
|
static m(): void;
|
|
}
|
|
|
|
// merged with namespace, static methods
|
|
class C6 {
|
|
static m(): void;
|
|
}
|
|
namespace C6 {
|
|
}
|
|
|
|
// merged with namespace, static methods, multiple overloads
|
|
class C7 {
|
|
static m(a): void;
|
|
static m(): void;
|
|
}
|
|
namespace C7 {
|
|
}
|
|
|
|
// merged with namespace, static methods, duplicate declarations
|
|
class C8 {
|
|
static m(a): void;
|
|
static m(a, b): void;
|
|
}
|
|
namespace C8 {
|
|
export function m(a?, b?): void { }
|
|
}
|
|
|
|
// merged with namespace, static methods, duplicate declarations
|
|
class C9 {
|
|
static m(a): void { }
|
|
}
|
|
namespace C9 {
|
|
export function m(a): void;
|
|
}
|
|
|
|
// merged namespaces
|
|
namespace N10 {
|
|
export function m(a): void;
|
|
}
|
|
namespace N10 {
|
|
export function m(a): void { }
|
|
}
|
|
|
|
// merged namespaces, duplicate defintions
|
|
namespace N12 {
|
|
export function m(a): void;
|
|
export function m(): void;
|
|
export function m(a?): void { }
|
|
}
|
|
namespace N12 {
|
|
export function m(a): void { }
|
|
}
|