Skip to content

Conversation

shrpne
Copy link
Owner

@shrpne shrpne commented May 11, 2021

Not tested. Need review.

@PeeJeeDR
Copy link

Any updates on this?

@shrpne
Copy link
Owner Author

shrpne commented Aug 31, 2021

@PeeJeeDR I have lack of time to fully test it, so waiting for review from typescript users.

If you want to try it, you can install it like this:

npm i github:shrpne/vue-inline-svg#pull/32/head
yarn add shrpne/vue-inline-svg#32/head

@dimeloper
Copy link

dimeloper commented Sep 13, 2021

hello @shrpne tried to test this one, receiving 2 errors on compilation:

node_modules/vue-inline-svg/types/index.d.ts:7:10 - error TS2305: Module '"vue"' has no exported member 'VueConstructor'.

7 import { VueConstructor } from 'vue';
           ~~~~~~~~~~~~~~

node_modules/vue-inline-svg/types/index.d.ts:12:23 - error TS7051: Parameter has a name but no type. Did you mean 'arg0: string'?

12     transformSource: (string) => string;

@shrpne
Copy link
Owner Author

shrpne commented Oct 4, 2021

Types added in aeacd34 for vue3
and 32b306a for vue2

@shrpne shrpne closed this Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants