We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5403c69 commit 6e09509Copy full SHA for 6e09509
2 files changed
package.json
@@ -97,5 +97,6 @@
97
"@mdx-js/react>@types/react": "18.x"
98
}
99
100
- }
+ },
101
+ "__isODCRepo": true
102
runtime/v1/env.d.ts
@@ -46,3 +46,9 @@ declare module '*.json' {
46
declare module 'react/jsx-runtime' {
47
export * from '/runtime/v1/react@18.x/jsx-runtime';
48
49
+
50
+declare global {
51
+ type IsOpenDataCaptureRepo = typeof import('../../package.json') extends { __isODCRepo: NonNullable<unknown> }
52
+ ? true
53
+ : false;
54
+}
0 commit comments