cc3921323c
* Support services settings * Code review * More review * Use different names for Options and GetCompletionsAtPositionOptions (todo: come up with better names) * More renames * More renaming * Support quote style in importFixes * Add `importModuleSpecifierPreference` option * Support quote style for `throw new Error('Method not implemented.')` (#18169) * options -> preferences
21 lines
376 B
TypeScript
21 lines
376 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////interface I {
|
|
//// m(): void;
|
|
////}
|
|
////class C implements I {}
|
|
|
|
verify.codeFix({
|
|
description: "Implement interface 'I'",
|
|
newFileContent:
|
|
`interface I {
|
|
m(): void;
|
|
}
|
|
class C implements I {
|
|
m(): void {
|
|
throw new Error('Method not implemented.');
|
|
}
|
|
}`,
|
|
preferences: { quotePreference: "single" }
|
|
});
|