Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aibayanyu20 committed Nov 14, 2023
1 parent 30d89ec commit aebf62e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as AllIcons from "@ant-design/icons-vue";
import { Options } from "./types";
import type { Options } from "./types";
import { allComponents , allImports} from "./antdv";

export const libraryName = "ant-design-vue";
Expand Down
2 changes: 1 addition & 1 deletion src/core/components.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Options } from "../types";
import type { Options } from "../types";
import { iconLibraryName, libraryName, prefix } from "../config"
import { addComponent } from "@nuxt/kit";

Expand Down
2 changes: 1 addition & 1 deletion src/core/imports.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { addImportsSources } from "@nuxt/kit";
import { Options } from "../types";
import type { Options } from "../types";
import { libraryName } from "../config";

export const resolveImports = (config:Options) => {
Expand Down
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineNuxtModule } from '@nuxt/kit'
import { libraryName,defaults } from "./config"
import { resolveComponents,resolveImports } from "./core"
import { Options } from './types'
import type { Options } from './types'
import { resolveOptions } from './core/options'

export default defineNuxtModule<Partial<Options>>({
Expand Down

0 comments on commit aebf62e

Please sign in to comment.