Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/varlet-cli/src/node/compiler/compileTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ declare module 'vue' {
const template = `\
import type { App } from 'vue'

export const version: string
export const install: (app: App) => void
export declare const version: string
export declare const install: (app: App) => void

${exports.join('\n')}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { App } from 'vue'

export const install: (app: App) => void
export declare const install: (app: App) => void

export * from './basicComponent'
export * from './button'
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { App } from 'vue'

export const install: (app: App) => void
export declare const install: (app: App) => void

export * from './basicComponent'
export * from './button'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ interface Locale {
}
}

export const Locale: Locale
export declare const Locale: Locale

export class _LocaleComponent {}
4 changes: 2 additions & 2 deletions packages/varlet-ui/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { App } from 'vue'

export const version: string
export const install: (app: App) => void
export declare const version: string
export declare const install: (app: App) => void

export * from './actionSheet'
export * from './alert'
Expand Down
Loading