Skip to content

Commit

Permalink
chore: remove augmented types
Browse files Browse the repository at this point in the history
  • Loading branch information
BayBreezy committed Aug 26, 2024
1 parent 2a57203 commit 3b925a0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
5 changes: 0 additions & 5 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ export default defineNuxtModule<ModuleOptions>({
if (options.enableComposable) {
addImportsDir(resolver.resolve("./runtime/composables"));
}
// add type template
addTypeTemplate({
filename: "types/pdfmake-module.d.ts",
src: resolver.resolve("./runtime/index.d.ts"),
});
// Add devtools tab
if (!options.enableDevtools) return;
nuxt.hook("devtools:customTabs", (iframeTabs) => {
Expand Down
13 changes: 0 additions & 13 deletions src/runtime/index.d.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/runtime/pdfmake.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,3 @@ declare module "vue" {
$pdfMake: typeof import("pdfmake/build/pdfmake");
}
}

declare module "@vue/runtime-core" {
interface ComponentCustomProperties {
$pdfMake: typeof import("pdfmake/build/pdfmake");
}
}

0 comments on commit 3b925a0

Please sign in to comment.