@scalar/swagger-editor
Version:
an editor which is tailored to write OpenAPI spec
19 lines • 963 B
TypeScript
import { type SwaggerEditorInputProps } from '../../types';
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<SwaggerEditorInputProps>, {
setCodeMirrorContent: (value: string) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
contentUpdate: (value: string) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SwaggerEditorInputProps>>> & {
onContentUpdate?: ((value: string) => any) | undefined;
}, {}, {}>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
//# sourceMappingURL=SwaggerEditorInput.vue.d.ts.map