Searched refs:tryInsertTypeAnnotation (Results 1 – 3 of 3) sorted by relevance
/third_party/typescript/src/services/codefixes/ |
D | annotateWithTypeFromJSDoc.ts | 53 … if (paramType) changes.tryInsertTypeAnnotation(sourceFile, param, transformJSDocType(paramType)); 59 … if (returnType) changes.tryInsertTypeAnnotation(sourceFile, decl, transformJSDocType(returnType)); 65 changes.tryInsertTypeAnnotation(sourceFile, decl, transformJSDocType(jsdocType));
|
D | inferFromUsage.ts | 317 changes.tryInsertTypeAnnotation(sourceFile, declaration, typeNode); 331 …if (importableReference && changes.tryInsertTypeAnnotation(sourceFile, declaration, importableRefe…
|
/third_party/typescript/src/services/ |
D | textChanges.ts | 529 …public tryInsertTypeAnnotation(sourceFile: SourceFile, node: TypeAnnotatable, type: TypeNode): boo… method in ts.textChanges.ChangeTracker
|