Test spelling suggestions for primitives, unions/intersections and type parameters with constraints.
10 lines
257 B
TypeScript
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);
|