diff options
| author | AAGaming <aagaming@riseup.net> | 2026-11-21 21:14:41 -0500 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2026-11-21 21:14:41 -0500 |
| commit | 02db20f846857374b9b5f1e7dbd475befdf47b71 (patch) | |
| tree | 55c7553d32ffb55e3f490d153543fb96ed9bb71a /frontend/global.d.ts | |
| parent | ffd103b9c1a4ce5bf305e7c0998eda6e05457dad (diff) | |
| download | decky-loader-02db20f846857374b9b5f1e7dbd475befdf47b71.tar.gz decky-loader-02db20f846857374b9b5f1e7dbd475befdf47b71.zip | |
esmodule support base
Diffstat (limited to 'frontend/global.d.ts')
| -rw-r--r-- | frontend/global.d.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend/global.d.ts b/frontend/global.d.ts new file mode 100644 index 00000000..bc193a94 --- /dev/null +++ b/frontend/global.d.ts @@ -0,0 +1,10 @@ +import type * as React from 'react'; +import type * as ReactDOM from 'react-dom'; +import type * as JSXRuntime from 'react/jsx-runtime'; +declare global { + interface Window { + SP_REACT: typeof React; + SP_REACTDOM: typeof ReactDOM; + SP_JSX: typeof JSXRuntime; + } +} |
