Skip to content

Commit

Permalink
[ADD] types to @vuito/vue
Browse files Browse the repository at this point in the history
  • Loading branch information
mathix420 committed May 4, 2021
1 parent 146c864 commit f41cd0d
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 3 deletions.
4 changes: 4 additions & 0 deletions vue/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { VTemplate } from '../src/types';
import { VueConstructor } from 'vue';

export default function (validator: VTemplate): VueConstructor;
38 changes: 37 additions & 1 deletion vue/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions vue/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "@vuito/vue",
"version": "1.0.3",
"description": "Simple, lightweight, template-based validation for Vue.js",
"description": "Vue.js mixin wrapper for vuito validation library.",
"main": "index.js",
"types": "index.d.ts",
"sideEffects": false,
"readme": "../README.md",
"scripts": {},
Expand All @@ -25,5 +26,8 @@
"bugs": {
"url": "https://github.com/mathix420/vuito/issues"
},
"homepage": "https://github.com/mathix420/vuito#vuejs-mixin"
"homepage": "https://github.com/mathix420/vuito#vuejs-mixin",
"devDependencies": {
"@types/vue": "^2.0.0"
}
}

0 comments on commit f41cd0d

Please sign in to comment.