Fomantic-ui: Type definitions

Created on 15 Jan 2019  路  2Comments  路  Source: fomantic/Fomantic-UI

Are there any type definition files associated with it or do we need to use the existing type defs from @types/semantic-ui

tav3 typusage

Most helpful comment

This would be a great addition. It's been almost a year and I find myself writing shims into my TypeScript to get around some missing definitions (e.g. $.fn.calendar(...), a new component not defined in Semantic 2.4.x).

+1 for a @types/fomantic-ui npm package!

All 2 comments

@subramn We currently don't have @types/fomantic-ui but that is something we could look into for v3. I would recommend using the @types/semantic-ui as you suggested since. It should work with FUI with no problems since FUI is still backwards compatible.

This would be a great addition. It's been almost a year and I find myself writing shims into my TypeScript to get around some missing definitions (e.g. $.fn.calendar(...), a new component not defined in Semantic 2.4.x).

+1 for a @types/fomantic-ui npm package!

Was this page helpful?
0 / 5 - 0 ratings