GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — TS 5.5 - Imports used by decorator output are removed · Issue #59051 · microsoft/TypeScript Closed Labels BugA bug in TypeScriptDomain: Declaration EmitThe issue relates to the emission of d.ts filesFix AvailableA PR has been opened for this issueRecent RegressionThis is a new regression just found in the last major/minor version of TypeScript. Milestone Description🔎 Search Termsremove import compilation decorator 🕗 Version & Regression Information
⏯ Playground Linkhttps://github.com/RomainLanz/typescript-output-issue npm install npm run build 💻 Codeimport { DateTime } from "luxon"; import { column } from "@adonisjs/lucid/orm"; class User { @column.dateTime() declare createdAt: DateTime; } 🙁 Actual behaviorWhen compiled the // ... import { column } from "@adonisjs/lucid/orm"; class User { } __decorate([ column.dateTime(), __metadata("design:type", typeof (_a = typeof DateTime !== "undefined" && DateTime) === "function" ? _a : Object) ], User.prototype, "createdAt", void 0); 🙂 Expected behaviorThe import should be kept like in TypeScript 5.4. import { DateTime } from "luxon"; import { column } from "@adonisjs/lucid/orm"; class User { } __decorate([ column.dateTime(), __metadata("design:type", typeof (_a = typeof DateTime !== "undefined" && DateTime) === "function" ? _a : Object) ], User.prototype, "createdAt", void 0); Additional information about the issueNo response Reacted by Matt Strayer, Max, Mikey Stengel, Fernando IL, Simone, Banashek, François Loupias, zanminkian and Shahriar Activity
MetadataMetadataAssigneesLabelsBugA bug in TypeScriptDomain: Declaration EmitThe issue relates to the emission of d.ts filesFix AvailableA PR has been opened for this issueRecent RegressionThis is a new regression just found in the last major/minor version of TypeScript. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |