Skip to content

Commit

Permalink
fix policy modal
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-drexler committed Oct 20, 2023
1 parent ffe7994 commit 1f85d07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,7 @@ export interface PolicyModalProps {
type: PolicyType;
}

export const PolicyModal = createRemoteReactComponent('PolicyModal');
export const PolicyModal = createRemoteReactComponent<
'PolicyModal',
PolicyModalProps
>('PolicyModal');
3 changes: 2 additions & 1 deletion packages/ui-extensions-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"outDir": "build/ts",
"rootDir": "src",
"jsx": "react-jsx"
"jsx": "react-jsx",
"stripInternal": true
},
"include": ["config/typescript/faker.d.ts", "src/**/*.ts", "src/**/*.tsx"],
"exclude": ["src/**/*.example.tsx", "src/**/tests/**"],
Expand Down

0 comments on commit 1f85d07

Please sign in to comment.