Skip to content

Commit 0f86787

Browse files
azaletasxzz
andauthored
fix: remove dts spaces (unplugin#533)
Co-authored-by: 三咲智子 (Kevin) <sxzz@sxzz.moe>
1 parent 1609186 commit 0f86787

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/declaration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export function getDeclaration(ctx: Context, filepath: string, originalImports?:
116116

117117
const head = ctx.options.version === 2.7
118118
? `export {}
119-
119+
120120
declare module 'vue' {`
121121
: `import '@vue/runtime-core'
122122

test/__snapshots__/dts.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ exports[`dts > vue 2.7 components only 1`] = `
9797
// We suggest you to commit this file into source control
9898
// Read more: https://github.com/vuejs/core/pull/3399
9999
export {}
100-
100+
101101
declare module 'vue' {
102102
export interface GlobalComponents {
103103
RouterLink: typeof import('vue-router')['RouterLink']

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy