feat(link): add OutboundLink

This commit is contained in:
Eric Liu 2021-02-03 05:16:43 -08:00
commit 422e991b71
8 changed files with 64 additions and 7 deletions

13
types/Link/OutboundLink.d.ts vendored Normal file
View file

@ -0,0 +1,13 @@
/// <reference types="svelte" />
import { LinkProps } from "./Link";
export interface OutboundLinkProps extends LinkProps {}
export default class OutboundLink {
$$prop_def: OutboundLinkProps;
$$slot_def: {
default: {};
};
$on(eventname: string, cb: (event: Event) => void): () => void;
}