2016-10-12 00:04:04 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noUnusedLocals: true
|
|
|
|
// @Filename: file2.ts
|
|
|
|
//// [|import {Calculator as calc, test as t1, test2 as t2} from "./file1"|]
|
|
|
|
////
|
|
|
|
//// var x = new calc();
|
|
|
|
//// x.handleChar();
|
|
|
|
//// t1();
|
|
|
|
|
|
|
|
// @Filename: file1.ts
|
|
|
|
//// export class Calculator {
|
|
|
|
//// handleChar() { }
|
|
|
|
//// }
|
|
|
|
|
|
|
|
//// export function test() {
|
|
|
|
////
|
|
|
|
//// }
|
|
|
|
|
|
|
|
//// export function test2() {
|
|
|
|
////
|
|
|
|
//// }
|
|
|
|
|
2016-11-15 23:43:14 +01:00
|
|
|
verify.rangeAfterCodeFix(`import {Calculator as calc, test as t1} from "./file1"`);
|