mirror of
https://github.com/honojs/hono.git
synced 2024-12-01 11:51:01 +01:00
b3e465a103
* feat: types for JSX elements * make it minimal * add children * denoify * fixed some attributes * denoify * `dateTime` to `datetime` * remove `onxxx` * feat: Declare in the Hono namespace so that it can be overridden by the user. (#1616) * feat: Declare in the Hono namespace so that it can be overridden by the user. * feat: Use interface instead of type to enable overwriting ```ts declare global { namespace JSX { interface IntrinsicElements { 'my-custom-element': Hono.HTMLAttributes & { 'x-event'?: 'click' | 'scroll'; } } } } ``` --------- Co-authored-by: Yusuke Wada <yusuke@kamawada.com> * remove `onxxx` * denoify --------- Co-authored-by: Taku Amano <taku@taaas.jp> |
||
---|---|---|
.. | ||
index.ts | ||
intrinsic-elements.ts | ||
jsx-dev-runtime.ts | ||
jsx-runtime.ts |