@jeremytenjo/super-code-generator
Version:
A powerful, fast, and scalable code generator that saves you time
10 lines (9 loc) • 421 B
TypeScript
import type { ExtensionContext, QuickPickItem } from "vscode";
export type UseRecentSelectedComponentsProps = {
context: ExtensionContext;
};
export default function useRecentSelectedComponents(props: UseRecentSelectedComponentsProps): {
get(): QuickPickItem[];
update(selectedComponent: QuickPickItem): void;
};
export type UseRecentSelectedComponentsReturn = ReturnType<typeof useRecentSelectedComponents>;