Skip to content

Commit

Permalink
add test with allowImportingTsExtensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Oct 14, 2024
1 parent c00448b commit e96bd5a
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/// <reference path="fourslash.ts" />

// @module: nodenext
// @allowImportingTsExtensions: true

// @Filename: /package.json
//// {
//// "imports": {
//// "#*": "./src/*"
//// }
//// }

// @Filename: /src/something.ts
//// export function something(name: string): any;

// @Filename: /a.ts
//// import {} from "/*1*/";

verify.completions({
marker: ["1"],
exact: ["#something.ts"],
isNewIdentifierLocation: true,
});

0 comments on commit e96bd5a

Please sign in to comment.