* Make ChangeTracker#newLineCharacter public, to avoid having to pass newLineCharacter around as a parameter * Don't require newLineCharacter as input to ChangeTracker methods, and make it private again
20 lines
277 B
TypeScript
20 lines
277 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
// @Filename: /a.ts
|
|
////export const foo = 0;
|
|
|
|
// @Filename: /b.ts
|
|
////[|#!/usr/bin/env node
|
|
////foo/**/|]
|
|
|
|
goTo.file("/a.ts");
|
|
goTo.file("/b.ts");
|
|
|
|
verify.importFixAtPosition([
|
|
`#!/usr/bin/env node
|
|
|
|
import { foo } from "./a";
|
|
|
|
foo`,
|
|
]);
|