{
props: P & {
@@ -36,6 +36,9 @@ export type ListItemClassKey =
| 'secondaryAction'
| 'selected';
-export type ListItemProps = SimplifiedPropsOf ,
+ D
+>;
export default ListItem;
diff --git a/pages/demos/lists.js b/pages/demos/lists.js
index 91cc79509674e8..a906b1693c5801 100644
--- a/pages/demos/lists.js
+++ b/pages/demos/lists.js
@@ -4,7 +4,11 @@ import React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
const req = require.context('docs/src/pages/demos/lists', false, /\.md|\.js$/);
-const reqSource = require.context('!raw-loader!../../docs/src/pages/demos/lists', false, /\.js$/);
+const reqSource = require.context(
+ '!raw-loader!../../docs/src/pages/demos/lists',
+ false,
+ /\.(js|tsx)$/,
+);
const reqPrefix = 'pages/demos/lists';
function Page() {