TypeScript/tests/cases/fourslash/codeFixInferFromExpressionStatement.ts
Nathan Shively-Sanders 052a3d9d73 Infer void from expr statement usage, not calls
This makes inferences a lot better.
2019-09-05 16:16:35 -07:00

9 lines
200 B
TypeScript

/// <reference path='fourslash.ts' />
// @noImplicitAny: true
//// function inferVoid( [| app |] ) {
//// app.use('hi')
//// }
verify.rangeAfterCodeFix("app: { use: (arg0: string) => void; }");