Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/sxzz/rolldown-plugin-dts. A Rolldown plugin to generate and bundle dts files.
Something went wrong. Try again.
123456789101112131415161718192021222324// index.d.ts//#region tests/rollup-plugin-dts/basic/mod.d.tsdeclare const a: string;
//#endregion//#region tests/rollup-plugin-dts/basic/foo.d.tsdeclare const foo: number;declare const bar: typeof a;type SomeType<T> = T;type FooType = string;interface Interface {}declare function fn(arg0: SomeType<FooType>, opt: Interface): void;declare enum Enum { A = 0, B = 1, C = 2,}declare class Cls { foo: string; fn(e: Enum): void;}
//#endregionexport { Cls, bar, fn, foo };