5d78cbdbbd
* Propagate nonInferrableType in &&, || and ?? operators * Add regression test * Simpler solution: getTypeFacts(neverType) should return TypeFacts.None
7 lines
171 B
TypeScript
7 lines
171 B
TypeScript
// @strict: true
|
|
|
|
declare function resolver<T>(): () => void;
|
|
declare function wrapResolver<T>(resolverFunction: () => void): void;
|
|
|
|
wrapResolver(resolver() || []);
|