Thunberg087 / vue-fragment

a very candide fragment component for Vue.js
http://jsfiddle.net/cdkn5wL3/
670 stars 51 forks source link

Publish TS typings to npm #44

Open unematiii opened 4 years ago

unematiii commented 4 years ago

Published package doesn't seem to include typings. Can we have those published as well?

au5ton commented 4 years ago

This would be useful seeing as they're already in the repo.

yooouuri commented 4 years ago

Have to ts ignore the import...

// @ts-ignore
import { Fragment } from 'vue-fragment';

So yea would be nice!

alvaro-canepa commented 4 years ago

Have to ts ignore the import...

// @ts-ignore
import { Fragment } from 'vue-fragment';

So yea would be nice!

Or add .d.ts with

declare module "vue-fragment";
kendallroth commented 3 years ago

I will often create a types/missing-modules.d.ts file and declare any missing package types here:

// types/missing-modules.d.ts

declare module "vue-fragment";
// ...etc