@typespec/html-program-viewer 0.59.0-dev.0 → 0.59.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/emitter/index.js +1 -1
- package/dist/manifest-dq4u9tDK.js +6 -0
- package/dist/react/index.js +737 -1376
- package/package.json +17 -17
- package/dist/manifest-Bx5EZvxu.js +0 -6
package/dist/emitter/index.js
CHANGED
|
@@ -1428,7 +1428,7 @@ props, allowedPropNames, excludedPropNames) {
|
|
|
1428
1428
|
const keys = Object.keys(props);
|
|
1429
1429
|
for (const key of keys){
|
|
1430
1430
|
const isNativeProp = !isArray && allowedPropNames[key] || isArray && allowedPropNames.indexOf(key) >= 0 || key.indexOf('data-') === 0 || key.indexOf('aria-') === 0;
|
|
1431
|
-
if (isNativeProp && (!excludedPropNames
|
|
1431
|
+
if (isNativeProp && (!excludedPropNames)) {
|
|
1432
1432
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1433
1433
|
result[key] = props[key];
|
|
1434
1434
|
}
|