mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +03:00
11 lines
292 B
TypeScript
11 lines
292 B
TypeScript
|
// @module: es2015
|
||
|
// @moduleResolution: node
|
||
|
|
||
|
// @Filename: /project/node_modules/cjs-dep/index.d.ts
|
||
|
declare class SpecialError extends Error {}
|
||
|
export = SpecialError;
|
||
|
|
||
|
// @Filename: /project/index.ts
|
||
|
import type SpecialError = require("cjs-dep");
|
||
|
function handleError(err: SpecialError) {}
|