Add types declaration file (#159)
This commit is contained in:
parent
5403d5d424
commit
9cfd1aa4a4
|
@ -0,0 +1,6 @@
|
|||
declare module '@fortawesome/vue-fontawesome' {
|
||||
import { FunctionalComponentOptions } from 'vue'
|
||||
export const FontAwesomeIcon: FunctionalComponentOptions
|
||||
export const FontAwesomeLayers: FunctionalComponentOptions
|
||||
export const FontAwesomeLayersText: FunctionalComponentOptions
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
"main": "index.js",
|
||||
"module": "index.es.js",
|
||||
"jsnext:main": "index.es.js",
|
||||
"types": "index.d.ts",
|
||||
"homepage": "https://github.com/FortAwesome/vue-fontawesome",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in New Issue