GitXplorerGitXplorer
r

typescript-jsdoc-import-bug

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
345b33f3ef5cdcfa045ed5bd4f3456a94078f5ca

Initial commit

rremcohaszing committed 7 months ago

README

The README file for this repository.

TypeScript bug reproduction

Steps to reproduce

Clone and setup the repo

git clone https://github.com/remcohaszing/typescript-jsdoc-import-bug.git
cd typescript-jsdoc-import-bug
npm ci

Build the project

npx tsc --build

Observe that TypeScript emits the following invalid content in dist/index.d.ts:

/**
 * @import {
 *   Program
 * } from 'estree'
 */
/**
 * @param {Program} program
 */
export function compile(program: *   Program): void;
import type { Program } from 'estree';