Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add TS typings #27

Merged
merged 3 commits into from Aug 13, 2019

Conversation

@t-cst
Copy link
Contributor

commented Aug 5, 2019

Added definitions file in types folder to fix #25

With this PR the module can be imported in TS

<script lang="ts">
  import { Tabs, Tab } from 'vue-slim-tabs';

  export default {
    components: {
      Tabs, Tab
    }
  }
</script>

, also as a plugin:

import * as Tabs from 'vue-slim-tabs';

Vue.use(Tabs);

IssueHunt Summary

Referenced issues

This pull request has been submitted to:


IssueHunt has been backed by the following sponsors. Become a sponsor

Show resolved Hide resolved types/vue-slim-tabs.d.ts Outdated
Fix function name in types/vue-slim-tabs.d.ts
Co-Authored-By: saltysugar <49533754+saltysugar@users.noreply.github.com>

@egoist egoist changed the title Add TS typings feat: Add TS typings Aug 13, 2019

@egoist egoist merged commit e3e69db into egoist:master Aug 13, 2019

3 of 6 checks passed

Header rules No header rules processed
Details
Pages changed All files already uploaded
Details
Redirect rules No redirect rules processed
Details
Mixed content No mixed content detected
Details
ci/circleci Your tests passed on CircleCI!
Details
deploy/netlify Deploy preview ready!
Details
@egoist

This comment has been minimized.

Copy link
Owner

commented Aug 13, 2019

🎉 This PR is included in version 0.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@egoist egoist added the released label Aug 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.