fix(omi): fix ts build error when set class to element

This commit is contained in:
dntzhang 2021-06-25 11:55:36 +08:00
parent 59a9af3e44
commit cf0ac975ae
5 changed files with 5 additions and 3 deletions

View File

@ -18,6 +18,7 @@ declare namespace Omi {
}
interface OmiDOMAttributes {
class?: string;
children?: ComponentChildren;
dangerouslySetInnerHTML?: {
__html: string;

View File

@ -1,5 +1,5 @@
/**
* Omi v6.19.10 http://omijs.org
* Omi v6.19.11 http://omijs.org
* Front End Cross-Frameworks Framework.
* By dntzhang https://github.com/dntzhang
* Github: https://github.com/Tencent/omi

View File

@ -1,5 +1,5 @@
/**
* Omi v6.19.10 http://omijs.org
* Omi v6.19.11 http://omijs.org
* Front End Cross-Frameworks Framework.
* By dntzhang https://github.com/dntzhang
* Github: https://github.com/Tencent/omi

View File

@ -1,6 +1,6 @@
{
"name": "omi",
"version": "6.19.10",
"version": "6.19.11",
"description": "Front End Cross-Frameworks Framework.",
"main": "dist/omi.js",
"jsnext:main": "dist/omi.esm.js",

View File

@ -18,6 +18,7 @@ declare namespace Omi {
}
interface OmiDOMAttributes {
class?: string;
children?: ComponentChildren;
dangerouslySetInnerHTML?: {
__html: string;