Initial commit
This commit is contained in:
commit
5a8a6c1ba3
81 changed files with 39269 additions and 0 deletions
15
src/global.d.ts
vendored
Normal file
15
src/global.d.ts
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/**
|
||||
* Global type declarations for Brainy
|
||||
*/
|
||||
|
||||
// Extend the globalThis interface to include the __ENV__ property
|
||||
declare global {
|
||||
var __ENV__: {
|
||||
isBrowser: boolean;
|
||||
isNode: string | false;
|
||||
isServerless: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
// This export is needed to make this file a module
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue