File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -79,3 +79,4 @@ export type { CommonInfo } from './plugins/info/main.js'
7979export type { CustomClass } from './subclass/custom.js'
8080export type { CreateSubclass , ErrorSubclassCore } from './subclass/create.js'
8181export type { NormalizeError } from './subclass/normalize.js'
82+ export type { SpecificErrorClass }
Original file line number Diff line number Diff line change @@ -132,6 +132,14 @@ interface ErrorSubclassCore<
132132
133133/**
134134 * Error class, with specific `props`, `custom`, etc.
135+ *
136+ * @private This type is private and only exported as a temporary workaround
137+ * for an open issue with TypeScript. It will be removed in a future release.
138+ * See:
139+ *
140+ * - [modern-errors issue #35](https://github.com/ehmicky/modern-errors/issues/35)
141+ * - [modern-errors issue #18](https://github.com/ehmicky/modern-errors/issues/18)
142+ * - [TypeScript issue #47663](https://github.com/microsoft/TypeScript/issues/47663)
135143 */
136144export type SpecificErrorClass <
137145 PluginsArg extends Plugins ,
You can’t perform that action at this time.
0 commit comments