UNPKG

riot

Version:

Simple and elegant component-based UI library

11 lines (9 loc) 353 B
/* Riot v10.1.0, @license MIT */ /** * no-op function needed to add the proper types to your component via typescript * @param {Function | object} component - component default export * @returns {Function | object} returns exactly what it has received */ /* istanbul ignore next */ const withTypes = (component) => component; export { withTypes };