| b69ab31 | | | 1 | /** |
| b69ab31 | | | 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| b69ab31 | | | 3 | * |
| b69ab31 | | | 4 | * This source code is licensed under the MIT license found in the |
| b69ab31 | | | 5 | * LICENSE file in the root directory of this source tree. |
| b69ab31 | | | 6 | */ |
| b69ab31 | | | 7 | |
| b69ab31 | | | 8 | // @fb-only: import type {InternalTypeImports} from './facebook/InternalTypeImports'; |
| b69ab31 | | | 9 | |
| b69ab31 | | | 10 | // Note: this file may be imported by the ISL server via `types.ts`, so it should not transitively import any tsx files, |
| b69ab31 | | | 11 | // which is why it's separate from `Internal.ts`. |
| b69ab31 | | | 12 | |
| b69ab31 | | | 13 | /** |
| b69ab31 | | | 14 | * API for accessing types for internal (non-OSS) features / functions. |
| b69ab31 | | | 15 | * Note: in non-internal builds, this uses Record<string, never> as the replacement type, |
| b69ab31 | | | 16 | * that is, an empty object. (the type equivalent of Partial<> used for InternalImports) |
| b69ab31 | | | 17 | */ |
| b69ab31 | | | 18 | // prettier-ignore |
| b69ab31 | | | 19 | export type InternalTypes = |
| b69ab31 | | | 20 | // @fb-only: InternalTypeImports; |
| b69ab31 | | | 21 | // @fb-only: /* |
| b69ab31 | | | 22 | Record<string, never>; |
| b69ab31 | | | 23 | // @fb-only: */ |