addons/isl/src/InternalTypes.tsblame
View source
b69ab311/**
b69ab312 * Copyright (c) Meta Platforms, Inc. and affiliates.
b69ab313 *
b69ab314 * This source code is licensed under the MIT license found in the
b69ab315 * LICENSE file in the root directory of this source tree.
b69ab316 */
b69ab317
b69ab318// @fb-only: import type {InternalTypeImports} from './facebook/InternalTypeImports';
b69ab319
b69ab3110// Note: this file may be imported by the ISL server via `types.ts`, so it should not transitively import any tsx files,
b69ab3111// which is why it's separate from `Internal.ts`.
b69ab3112
b69ab3113/**
b69ab3114 * API for accessing types for internal (non-OSS) features / functions.
b69ab3115 * Note: in non-internal builds, this uses Record<string, never> as the replacement type,
b69ab3116 * that is, an empty object. (the type equivalent of Partial<> used for InternalImports)
b69ab3117 */
b69ab3118// prettier-ignore
b69ab3119export type InternalTypes =
b69ab3120 // @fb-only: InternalTypeImports;
b69ab3121// @fb-only: /*
b69ab3122 Record<string, never>;
b69ab3123// @fb-only: */