TypeScript/tests/cases/fourslash/codeFixCorrectSpelling1.ts
Nathan Shively-Sanders abec46ce48 Test:spelling suggestions for more types
Test spelling suggestions for primitives, unions/intersections and type
parameters with constraints.
2017-06-30 10:12:02 -07:00

10 lines
257 B
TypeScript

/// <reference path='fourslash.ts' />
////[|function foo(s: string) {
//// return s.toStrang();
////}|]
verify.rangeAfterCodeFix(`function foo(s: string) {
return s.toString();
}`, /*includeWhiteSpace*/false, /*errorCode*/ undefined, /*index*/ 0);