diff options
Diffstat (limited to 'chromium/third_party/node/node_modules/lit-html/is-server.d.ts')
-rw-r--r-- | chromium/third_party/node/node_modules/lit-html/is-server.d.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/third_party/node/node_modules/lit-html/is-server.d.ts b/chromium/third_party/node/node_modules/lit-html/is-server.d.ts new file mode 100644 index 00000000000..072c7b0f962 --- /dev/null +++ b/chromium/third_party/node/node_modules/lit-html/is-server.d.ts @@ -0,0 +1,15 @@ +/** + * @license + * Copyright 2022 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +/** + * A boolean that will be `true` in server environments like Node, and `false` + * in browser environments. Note that your server environment or toolchain must + * support the `"node"` export condition for this to be `true`. + * + * This can be used when authoring components to change behavior based on + * whether or not the component is executing in an SSR context. + */ +export declare const isServer = false; +//# sourceMappingURL=is-server.d.ts.map
\ No newline at end of file |