Skip to content

Commit 65fbde0

Browse files
JounQinyyx990803
authored andcommitted
types: add .d.ts declaration file (#1218)
1 parent 8129173 commit 65fbde0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: lib/index.d.ts

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { Plugin } from 'webpack'
2+
3+
declare namespace VueLoader {
4+
class VueLoaderPlugin extends Plugin {}
5+
}
6+
7+
export = VueLoader

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "15.0.0-beta.7",
44
"description": "Vue single-file component loader for Webpack",
55
"main": "lib/index.js",
6+
"typings": "lib/index.d.ts",
67
"scripts": {
78
"test": "jest --env node",
89
"lint": "eslint lib test --fix",

0 commit comments

Comments
 (0)