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