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.
884 B · 28 lines
at rust-new
1234567891011121314151617181920212223242526272829Index: diff.patch===================================================================--- diff.patch+++ diff.patch@@ -1,5 +1,6 @@ // index.d.ts+interface J {} declare class GenericKlass<A = any, B = A> { a: A b: B }@@ -8,14 +9,11 @@ d: D } declare function genericFunction<E = any, F = E>(e: E): F declare type ConditionalInfer<G> = G extends Array<Array<infer H>> ? H : never-declare type Mapped<I> = {- [J in keyof I]: I[J]-}+declare type Mapped<I> = { [J in keyof I]: I[J] } declare type GenericType<K = any, L = K> = { k: K l: L } interface GenericExtends<M = any, N = M> extends GenericInterface<M, N> {}-export { GenericKlass, genericFunction }-export { ConditionalInfer, GenericExtends, GenericInterface, GenericType, Mapped }+export { ConditionalInfer, GenericExtends, GenericInterface, GenericKlass, GenericType, Mapped, genericFunction }