609 B22 lines
Blame
1/**
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8import type {Platform} from './platform';
9
10import {makeBrowserLikePlatformImpl} from './platform/browserPlatformImpl';
11
12// important: this file should not try to import other code from 'isl',
13// since it will end up getting duplicated when bundling.
14
15declare global {
16 interface Window {
17 isSaplingVSCodeExtension?: boolean;
18 }
19}
20
21export const browserPlatform: Platform = makeBrowserLikePlatformImpl('browser');
22