mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
be3845adec
Summary: Add minimum necessary .d.ts files to react-native-codegen. I found .d.ts files will be copied to `lib` so I guess no additional script is needed. ## Changelog [GENERAL] [CHANGED] - Add minimum necessary .d.ts files to react-native-codegen Pull Request resolved: https://github.com/facebook/react-native/pull/36102 Test Plan: `npm run build` in `packages/react-native-codegen` and see all .d.ts files appear in `lib`. Reviewed By: cortinico Differential Revision: D43157233 Pulled By: cipolleschi fbshipit-source-id: 6f122f0f4cda693ba22af6dd534e9d34d069ecac
11 lines
291 B
TypeScript
11 lines
291 B
TypeScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
export type ParserType = 'Flow' | 'TypeScript';
|
|
|
|
export declare class ParserError extends Error {}
|