849 B30 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
8// @fb-only: import {InternalImports} from './facebook/InternalImports';
9
10// This file contains imports only used by non-OSS internal builds of ISL
11// This should be the only file using fb-only imports and prettier ignores.
12
13/* eslint-disable @typescript-eslint/no-explicit-any */
14
15// prettier-ignore
16type InternalImportsType =
17 // @fb-only: Partial<typeof InternalImports>
18// @fb-only: /*
19 {[key: string]: undefined | any}
20// @fb-only: */
21 ;
22
23/**
24 * API for accessing internal (non-OSS) features / functions.
25 * In OSS builds, all properties will give `undefined`.
26 */
27export const Internal: InternalImportsType = {
28 // @fb-only: ...InternalImports,
29};
30