-
Notifications
You must be signed in to change notification settings - Fork 32
Export component individually #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,36 @@ | ||
import { Plugin } from 'vue'; | ||
declare const plugin: Plugin; | ||
declare const component: import("vue").DefineComponent<{ | ||
code: { | ||
type: StringConstructor; | ||
required: true; | ||
}; | ||
language: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
autodetect: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
ignoreIllegals: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}, { | ||
className: import("vue").ComputedRef<string>; | ||
highlightedCode: import("vue").ComputedRef<string>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ | ||
code: string; | ||
language: string; | ||
autodetect: boolean; | ||
ignoreIllegals: boolean; | ||
} & {}>, { | ||
language: string; | ||
autodetect: boolean; | ||
ignoreIllegals: boolean; | ||
}>; | ||
declare const plugin: Plugin & { | ||
component: typeof component; | ||
}; | ||
export default plugin; | ||
//# sourceMappingURL=vue.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious: What makes this no longer necessary with v11?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think v11 fixed the file paths. I couldn't get this to compile once I upgraded to v11 without removing this alias