Skip to content

Commit

Permalink
update typescript to try to fix github build error
Browse files Browse the repository at this point in the history
  • Loading branch information
webdevnerdstuff committed Dec 12, 2024
1 parent fafc279 commit ba8fcc7
Show file tree
Hide file tree
Showing 5 changed files with 159 additions and 157 deletions.
54 changes: 28 additions & 26 deletions dist/plugin/VCodeBlock.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,22 @@ import { Props } from './types';

declare function copyCode(): void;
declare function runCode(): void;
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
declare function __VLS_template(): {
label?(_: {
copyCode: typeof copyCode;
copyStatus: "copy" | "success" | "failed";
runCode: typeof runCode;
}): any;
tabs?(_: {
copyCode: typeof copyCode;
copyStatus: "copy" | "success" | "failed";
runCode: typeof runCode;
}): any;
copyButton?(_: {
copyStatus: "copy" | "success" | "failed";
}): any;
};
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
browserWindow: boolean;
cssPath: undefined;
code: string;
Expand Down Expand Up @@ -63,44 +78,31 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
}, {
highlightjs: boolean;
prismjs: boolean;
persistentCopyButton: boolean;
floatingTabs: boolean;
tabGap: string | number;
copyTab: boolean;
height: string | number;
maxHeight: string | number;
codeBlockRadius: string;
runTab: boolean;
tabs: boolean;
browserWindow: boolean;
cssPath: string;
code: string | number | object | [];
codeBlockRadius: string;
code: object | [] | string | number;
copyButton: boolean;
copyIcons: boolean;
copyTab: boolean;
copyFailedText: string;
copyText: string;
copySuccessText: string;
floatingTabs: boolean;
height: string | number;
indent: number;
label: string;
lang: string;
maxHeight: string | number;
persistentCopyButton: boolean;
prismPlugin: boolean;
runTab: boolean;
runText: string;
tabGap: string | number;
tabs: boolean;
theme: string | boolean;
}, {}>, {
label?(_: {
copyCode: typeof copyCode;
copyStatus: "copy" | "success" | "failed";
runCode: typeof runCode;
}): any;
tabs?(_: {
copyCode: typeof copyCode;
copyStatus: "copy" | "success" | "failed";
runCode: typeof runCode;
}): any;
copyButton?(_: {
copyStatus: "copy" | "success" | "failed";
}): any;
}>;
}, {}>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-code-block.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vue-code-block.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"stylelint-config-standard": "^36.0.1",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.3.2",
"typescript": "^5.7.2",
"typescript": "^5.6.2",
"unplugin-auto-import": "^0.17.6",
"vite": "^5.3.3",
"vite-plugin-css-injected-by-js": "^3.5.1",
Expand Down
Loading

0 comments on commit ba8fcc7

Please sign in to comment.