Skip to content

Commit 4234a24

Browse files
author
Luca Forstner
committed
Add docs to globals.d.ts
1 parent 330c639 commit 4234a24

File tree

26 files changed

+234
-0
lines changed

26 files changed

+234
-0
lines changed

packages/browser/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/browser/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/core/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/core/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/gatsby/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/gatsby/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/hub/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/hub/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/nextjs/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/nextjs/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/node/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/node/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/react/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/react/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/serverless/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/serverless/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/tracing/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/tracing/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/utils/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/utils/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/vue/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/vue/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/wasm/src/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

packages/wasm/test/globals.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1+
/*
2+
* This file defines flags and constants that can be modified during compile time in order to facilitate tree shaking
3+
* for users.
4+
*
5+
* Our code contains "magic strings" like `__DEBUG_BUILD__` that may get replaced with actual values during
6+
* our, or the user's build process. Take care when introducing new flags - they must not throw if they are not
7+
* replaced.
8+
*/
9+
110
declare const __DEBUG_BUILD__: boolean;

0 commit comments

Comments
 (0)