* feat(26217): Add missing function declaration QF * use codeFixAvailable instead of codeFix * add diagnostics messages 'Method not implemented.' and 'Function not implemented.' * use codeFixAvailable instead of codeFix * fix signature types
16 lines
309 B
TypeScript
16 lines
309 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////foo<string, number>();
|
|
|
|
verify.codeFix({
|
|
index: 0,
|
|
description: [ts.Diagnostics.Add_missing_function_declaration_0.message, "foo"],
|
|
newFileContent:
|
|
`foo<string, number>();
|
|
|
|
function foo<T, U>() {
|
|
throw new Error("Function not implemented.");
|
|
}
|
|
`
|
|
});
|