示例工程 16-shadcn-ui-component-layer

16-shadcn-ui-component-layer/app/.tsc/src/App.d.ts

typescript · 0.7 KB

type TabId = "buttons" | "dialog" | "select";
declare global {
    interface Window {
        appInfo: {
            platform: string;
            versions: {
                electron: string;
                chrome: string;
                node: string;
            };
        };
        __setTab?: (tab: TabId) => void;
        __openDialog?: () => void;
        __closeDialog?: () => void;
        __openSelect?: () => void;
        __toast?: () => void;
        __clearToasts?: () => void;
        __snapshot?: () => unknown;
        __smoke?: () => Promise<unknown>;
    }
}
export default function App(): import("react").JSX.Element;
export {};
//# sourceMappingURL=App.d.ts.map