Skip to content
Snippets Groups Projects
Commit 978a687e authored by Loïc Correnson's avatar Loïc Correnson Committed by David Bühler
Browse files

[ivette] fix documentation issues

parent 46dc9c9c
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,8 @@ function freshId(): string {
return '<dnd-crashed>';
}
interface DropZone extends DropHandler {
/** Extended `DropZone` with an HTML element. */
export interface DropZone extends DropHandler {
node: HTMLElement;
}
......
......@@ -581,7 +581,7 @@ export function useUpdate(...events: Event<any>[]): void {
});
}
interface PromiseHook<A> {
export interface PromiseHook<A> {
result: A | undefined;
error: Error | undefined;
loading: boolean;
......@@ -614,7 +614,7 @@ export function usePromise<A>(job: Promise<A>): PromiseHook<A> {
}
/* Internal type alias */
type Serialize<A> = (a: A) => string;
export type Serialize<A> = (a: A) => string;
/**
Hook to add a cache system to a function, allowing to reuse previous results.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment