24 lines
No EOL
491 B
TypeScript
24 lines
No EOL
491 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noUnusedLocals: true
|
|
// @Filename: file2.ts
|
|
//// [| import {Calculator, test, test2} from "./file1" |]
|
|
////
|
|
//// var x = new Calculator();
|
|
//// x.handleChar();
|
|
//// test();
|
|
|
|
// @Filename: file1.ts
|
|
//// export class Calculator {
|
|
//// handleChar() {}
|
|
//// }
|
|
////
|
|
//// export function test() {
|
|
////
|
|
//// }
|
|
////
|
|
//// export function test2() {
|
|
////
|
|
//// }
|
|
|
|
verify.rangeAfterCodeFix(`import {Calculator, test} from "./file1"`); |