TypeScript/tests/cases/fourslash/unusedImports4FS.ts
Arthur Ozga 389959a5b5 Merge branch 'master' into interfaceFixes
* additionally consolidated codeFix testing
2016-11-15 14:43:14 -08:00

24 lines
493 B
TypeScript

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