Prechádzať zdrojové kódy

[stdf]Add some export type

dufu1991 1 rok pred
rodič
commit
fdca152aba
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      packages/stdf/index.d.ts

+ 2 - 2
packages/stdf/index.d.ts

@@ -1,6 +1,6 @@
 import type { Snippet, Component } from 'svelte';
 
-type Action = {
+export type Action = {
 	content: string;
 	style?: 'normal' | 'theme' | 'danger' | 'disabled';
 	desc?: string;
@@ -652,7 +652,7 @@ type StepsFinishStep = {
 	bar?: StepsStepBarIcon | StepsStepBarImage | StepsStepBarString;
 	injComponent?: Component;
 };
-type StepsItem = { step: StepsStep; finishStep?: StepsFinishStep; height?: number };
+export type StepsItem = { step: StepsStep; finishStep?: StepsFinishStep; height?: number };
 export type Steps = {
 	steps: StepsItem[];
 	current?: number;