| 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 type {InternalTypeImports} from './facebook/InternalTypeImports'; |
| 9 | |
| 10 | // Note: this file may be imported by the ISL server via `types.ts`, so it should not transitively import any tsx files, |
| 11 | // which is why it's separate from `Internal.ts`. |
| 12 | |
| 13 | /** |
| 14 | * API for accessing types for internal (non-OSS) features / functions. |
| 15 | * Note: in non-internal builds, this uses Record<string, never> as the replacement type, |
| 16 | * that is, an empty object. (the type equivalent of Partial<> used for InternalImports) |
| 17 | */ |
| 18 | // prettier-ignore |
| 19 | export type InternalTypes = |
| 20 | // @fb-only: InternalTypeImports; |
| 21 | // @fb-only: /* |
| 22 | Record<string, never>; |
| 23 | // @fb-only: */ |
| 24 | |